diff options
| author | Dennis Fink | 2026-11-12 22:56:07 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-12 22:56:07 +0100 |
| commit | a10b29ac98ba535a5c2f9697c54265edd2c84a78 (patch) | |
| tree | f116a58be6e241a11d283683070ebb18c96aa8e4 /tests/test_init.py | |
| parent | 1db6b47f88dde5538efa433328987c70eab74d70 (diff) | |
| download | webmentions-ssg-a10b29ac98ba535a5c2f9697c54265edd2c84a78.tar.gz webmentions-ssg-a10b29ac98ba535a5c2f9697c54265edd2c84a78.zip | |
refactor(core): use lowercase extension names
Rename shared Flask extension singletons to conventional lowercase names
and update imports throughout the application and tests to remove
redundant aliases.
Diffstat (limited to '')
| -rw-r--r-- | tests/test_init.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_init.py b/tests/test_init.py index 0a37786..7112654 100644 --- a/tests/test_init.py +++ b/tests/test_init.py @@ -6,13 +6,13 @@ from flask import Flask -from webmentions_ssg import HUEY, VERSION +from webmentions_ssg import VERSION, huey 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 app.extensions["huey"] is HUEY + assert app.extensions["huey"] is huey assert app.jinja_env.filters["is_http_url"] is is_http_url |
