def get_app(self): app = dummy.create_admin_application() app.hub.verify_token.return_value = { 'pending': None, 'name': app.settings['user'], 'admin': False, 'server': app.settings['base_urlpath']} return app
def get_app(self): app = dummy.create_admin_application() app.hub.verify_token.return_value = { 'pending': None, 'name': app.settings['user'], 'admin': False, 'server': app.settings['base_urlpath']} return app
def get_app(self): app = dummy.create_admin_application() app.registry.authenticator = NullAuthenticator return app