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
Exemple #2
0
 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
Exemple #3
0
 def get_app(self):
     app = dummy.create_admin_application()
     app.registry.authenticator = NullAuthenticator
     return app