Example #1
0
 def wrapper():
     app = create_app()
     app.config["TESTING"] = True
     return wrapped(app.test_client())
Example #2
0
#!/usr/bin/env python

from flask.ext.script import Manager
from douwallet.app import create_app


app = create_app()
manager = Manager(app)


if __name__ == "__main__":
    manager.run()