summaryrefslogtreecommitdiffstats
path: root/tests/file_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/file_page_test.py
parent2a592ecd951f758a62b1c4907e5da212cf1ba264 (diff)
downloadgit2hugo-bd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1.tar.gz
g2h: Add navbar
Diffstat (limited to 'tests/file_page_test.py')
-rw-r--r--tests/file_page_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/file_page_test.py b/tests/file_page_test.py
index 3fff51e..097f5a1 100644
--- a/tests/file_page_test.py
+++ b/tests/file_page_test.py
@@ -42,6 +42,7 @@ def test_context():
assert(context['title'] == 'file test: test_file.txt')
assert(context['type'] == 'text')
assert(context['breadcrumbs'] == '[/](/file/content/123/t/)/[test_file.txt](/file/content/123/t/test_file.txt)')
+ assert(context['this_commit'] == commit)
def test_context_dot_file():
file = MagicMock()