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