def setUp(self): self.app = create_app() self.client = self.app.test_client()
from notebook import create_app application = create_app()
from notebook import create_app if __name__ == "__main__": app = create_app() app.run("0.0.0.0", port=2347, debug=True)