aboutsummaryrefslogtreecommitdiff
path: root/tests/test_init.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_init.py')
-rw-r--r--tests/test_init.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_init.py b/tests/test_init.py
index 2b5ea00..44375de 100644
--- a/tests/test_init.py
+++ b/tests/test_init.py
@@ -14,7 +14,7 @@ from webmentions_ssg.net import is_http_url
def test_create_app_registers_blueprint_and_extensions(app: Flask) -> None:
- assert "root" in app.blueprints
+ assert "webmentions" in app.blueprints
assert app.extensions["huey"] is huey
assert app.jinja_env.filters["is_http_url"] is is_http_url
@@ -34,14 +34,14 @@ from webmentions_ssg import huey
from webmentions_ssg.tasks.scanner import manual_scan_sources
from webmentions_ssg.tasks.receiver import verify_webmention
from webmentions_ssg.tasks.sender import send_webmention
-from webmentions_ssg.views import root_page
+from webmentions_ssg.views import webmentions_bp
assert huey.app is None
assert huey._huey is None
assert manual_scan_sources.__name__ == 'manual_scan_sources'
assert verify_webmention.__name__ == 'verify_webmention'
assert send_webmention.__name__ == 'send_webmention'
-assert root_page.name == 'root'
+assert webmentions_bp.name == 'webmentions'
"""
result = subprocess.run(
[sys.executable, "-c", script], capture_output=True, text=True, check=False