Contents:
from flask_testing import LiveServerTestCase [docs]class TimLiveServer(LiveServerTestCase): [docs] def create_app(self): from timApp.tim_app import app return app [docs] def setUp(self): super().setUp() self.client = self.app.test_client() self.client.__enter__() [docs] def tearDown(self): self.client.__exit__(None, None, None)