lenticular_cloud2/tests/test_json.py
tuxcoder eee18c1785 update
add nix flake
make a restart
2023-10-09 21:58:44 +02:00

18 lines
368 B
Python

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)