diff --git a/conftest.py b/conftest.py index c0cc3a2..eebc2ff 100644 --- a/conftest.py +++ b/conftest.py @@ -37,14 +37,18 @@ def pytest_configure(): }, ], SECRET_KEY="this-is-a-secret", - ANGLES={}, + ANGLES={ + "IS_IN_UNIT_TEST": True, + }, ) @pytest.fixture(autouse=True) def reset_settings(settings): # Make sure that ANGLES is empty before every test - settings.ANGLES = {} + settings.ANGLES = { + "IS_IN_UNIT_TEST": True, + } # Clear the tag map before every test clear_tag_map() diff --git a/example/www/templates/www/base.html b/example/www/templates/www/base.html index 342c84b..57df86b 100644 --- a/example/www/templates/www/base.html +++ b/example/www/templates/www/base.html @@ -22,6 +22,8 @@

@@ -30,7 +32,10 @@

- + + + +