Example #1
0
 def setUp(self):
     app = create_app()
     self.app = app.test_client()
Example #2
0
def _create_app(config):
    if not to_envvar(config):
        print 'Config file "{}" not found.'.format(config)
        sys.exit(1)
    return create_app()
Example #3
0
 def setUp(self):
     app = create_app()
     self.app = app.test_client()
Example #4
0
def _create_app(config):
    if not to_envvar(config):
        print 'Config file "{}" not found.'.format(config)
        sys.exit(1)
    return create_app()