Create Flask app on init of Server class

This commit is contained in:
CasVT
2025-08-17 16:34:49 +02:00
parent 39d5c9e51e
commit c9719ec221
4 changed files with 14 additions and 13 deletions

View File

@@ -10,7 +10,6 @@ from frontend.ui import ui
class Test_MIND(unittest.TestCase):
def test_create_app(self):
SERVER = Server()
SERVER.create_app()
self.assertTrue(hasattr(SERVER, 'app'))
app = SERVER.app
self.assertIsInstance(app, Flask)