diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-09-18 23:17:24 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-09-18 23:17:24 +0200 |
| commit | bd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1 (patch) | |
| tree | d9abea372078840e69e38401bce663b00dfbe07e /tests/tree_page_test.py | |
| parent | 2a592ecd951f758a62b1c4907e5da212cf1ba264 (diff) | |
| download | git2hugo-bd403e6ab18d5cc7818e86d43c3ca0b15c5e53a1.tar.gz | |
g2h: Add navbar
Diffstat (limited to 'tests/tree_page_test.py')
| -rw-r--r-- | tests/tree_page_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tree_page_test.py b/tests/tree_page_test.py index a298728..57084d1 100644 --- a/tests/tree_page_test.py +++ b/tests/tree_page_test.py @@ -54,6 +54,7 @@ def test_context_empty(): assert(context['subdir'] == '/123/t/tree/path') assert(context['title'] == 'tree test: Tree') assert(context['breadcrumbs'] == '[/](/123/t/)') + assert(context['this_commit'] == commit) def test_context_entries(): tree = MagicMock() |