main test

This commit is contained in:
Auriane Lartigue 2022-01-11 14:21:02 +01:00
parent 0c901901fc
commit be70fea80e
2 changed files with 2 additions and 3 deletions

View file

@ -104,5 +104,4 @@ def create_app():
if __name__ == "__main__":
app.run()
return app

View file

@ -1,8 +1,8 @@
import unittest
from app import app
class UnitTest(unittest.TestCase):
def setUp(self):
from app import app
app.testing = True
self.app = app.test_client()