Skip to content

Commit 4b67b8a

Browse files
committed
docs: Improve test docstring
1 parent 362c577 commit 4b67b8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_templatetags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ def test_alias_auto_creation_in_template_site_limited_alias(self):
195195

196196
def test_no_alias_content_creation_on_view_on_site(self):
197197
"""
198-
When a template discovers a static code that doesn't exist in preview or on-site mode,
199-
no alias or category is created
198+
Regression test: Ensure that viewing a template with a non-existent static alias code
199+
in live (on-site) mode DOES create an Alias, Category, but does NOT create any AliasContent entries.
200200
"""
201201
alias_template = """{% load djangocms_alias_tags %}{% static_alias "no_creation_code" site %}""" # noqa: E501
202202

0 commit comments

Comments
 (0)