class AppSimulatingTest(TestCase):

    def create_app(self):
        # pass in test configuration
        return create_app()

    def setUp(self):
        db.create_all()
        self.db = db
        self.injector = TournamentInjector()

    def tearDown(self):
        self.injector.delete()
        db.session.remove()
 def setUp(self):
     db.create_all()
     self.db = db
     self.injector = TournamentInjector()