update
add nix flake make a restart
This commit is contained in:
parent
536668d8b9
commit
eee18c1785
24 changed files with 509 additions and 231 deletions
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
17
tests/test_json.py
Normal file
17
tests/test_json.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
import unittest
|
||||
from flask import jsonify
|
||||
from uuid import uuid4
|
||||
|
||||
from lenticular_cloud.app import create_app
|
||||
from lenticular_cloud.model import User
|
||||
|
||||
class TestBasicJsonFunction(unittest.TestCase):
|
||||
|
||||
|
||||
|
||||
def test_encode(self):
|
||||
app = create_app()
|
||||
uuid = uuid4()
|
||||
with app.app_context():
|
||||
text = jsonify(uuid)
|
||||
print(text)
|
Loading…
Add table
Add a link
Reference in a new issue