diff options
| author | Tom Harley | 2021-07-10 21:41:09 +0000 |
|---|---|---|
| committer | Tom Harley | 2021-07-11 14:23:35 +0000 |
| commit | c4e848c21c028ca7c52846ea1abd7f3a38aff7d6 (patch) | |
| tree | fb886b06dcdd4d9ae4cc54ee9ea9f481ec124166 /sw/__init__.py | |
| parent | Add basic inbox/outbox functionality (diff) | |
| download | swap-c4e848c21c028ca7c52846ea1abd7f3a38aff7d6.tar.gz swap-c4e848c21c028ca7c52846ea1abd7f3a38aff7d6.zip | |
Still not even total coverage!
Need to:
- write more tests for outbox manipulation
- look into and implement receiving content from other servers (+ write tests)
off the top of my head.
Diffstat (limited to 'sw/__init__.py')
| -rw-r--r-- | sw/__init__.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/__init__.py b/sw/__init__.py index b4224fb..6f2869a 100644 --- a/sw/__init__.py +++ b/sw/__init__.py @@ -2,7 +2,7 @@ import os from flask import Flask -from sw import auth, ap, db, users +from sw import auth, db, users def create_app(test_config=None): @@ -23,14 +23,9 @@ def create_app(test_config=None): except OSError: pass - @app.route("/hello") - def hello(): - return "Hello, World!" - db.init_app(app) app.register_blueprint(auth.bp) - app.register_blueprint(ap.bp) app.register_blueprint(users.bp) return app |
