def test_add_app_with_class(self):
        self.router.add_app(AppBase)
        self.assertEqual(1, len(self.router.apps))
A cast function for query
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/router/blocking/tests/test_app.py/RouterAppTest.test_add_app_with_class--crossover with--dataset/ETHPy150Open jart/fabulous/fabulous/prompt.py/query_cast