def setUp(self):
        init_DB(status="development", folder=db_path)
        self.assertTrue(os.path.exists(db_path))

        load_env_vars()

        self.db_challenges_manager = ChallengesController(db_path)
    def setUp(self):
        init_DB(status="", folder=db_path)
        self.assertTrue(os.path.exists(db_path))

        self.db_games_manager = GamesController(db_path)

        load_env_vars()
    def setUp(self):
        init_DB(status="development", folder=db_path)
        self.assertTrue(os.path.exists(db_path))

        self.db_users_manager = UsersController(db_path)
        self.assertIsNotNone(self.db_users_manager)

        load_env_vars()
def step_impl(context, status):
    init_DB(status=status, folder="db_test")
    context.w = TestApp(apps.gaming_challenges.controllers.web.app)
    def setUp(self):
        init_DB(status="development", folder=db_path)
        self.assertTrue(os.path.exists(db_path))

        load_env_vars()