def test_add_app_with_class(self):
        self.router.add_app(AppBase)
        self.assertEqual(1, len(self.router.apps))
add_app() should also accept a class.
dataset/ETHPy150Open rapidsms/rapidsms/rapidsms/router/blocking/tests/test_app.py/RouterAppTest.test_add_app_with_class