mirror of
https://github.com/Casvt/MIND.git
synced 2026-04-03 03:00:22 -04:00
Create Flask app on init of Server class
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user