summaryrefslogtreecommitdiffstats
path: root/tests/commit_page_test.py
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-09-18 23:17:24 +0200
committerChristoph Schlosser <christoph@linux.com>2025-09-18 23:17:24 +0200
commitbd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1 (patch)
treed9abea372078840e69e38401bce663b00dfbe07e /tests/commit_page_test.py
parent2a592ecd951f758a62b1c4907e5da212cf1ba264 (diff)
downloadgit2hugo-bd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1.tar.gz
g2h: Add navbar
Diffstat (limited to 'tests/commit_page_test.py')
-rw-r--r--tests/commit_page_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/commit_page_test.py b/tests/commit_page_test.py
index bfff3c4..2078ed3 100644
--- a/tests/commit_page_test.py
+++ b/tests/commit_page_test.py
@@ -19,6 +19,7 @@ def test_context():
assert(context['commit'] == commit)
assert(context['redacted_email'] == 'u...@te.st')
assert(context['content_subdir'] == 'commit/content')
+ assert(context['this_commit'] == commit)
def test_redacting_email():
assert(redact_email(None) == '')