Exemplo n.º 1
0
def app_client():
	app = create_app(test=True)
	with app.app_context():
		with app.test_client() as client:
			yield client
		cleanup()
Exemplo n.º 2
0
from buildyourownbotnet import create_app

if __name__ == '__main__':
	app = create_app(test=False)
	app.run(host='0.0.0.0', port=5000)