def Test_RPC_App(**kwargs): from por.dashboard import main settings = {'test': True, 'sa.dashboard.url': 'sqlite://', 'velruse.openid.store':'openid.store.memstore.MemoryStore', 'velruse.openid.realm':'localhost', } app = main({}, **settings) return TestApp(app, **kwargs)