diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-09-18 22:05:48 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-09-18 22:05:48 +0200 |
| commit | 74cd345f76dd01034c804f75e7f16b42e9c0643c (patch) | |
| tree | b1105460df469168e052ec278bbb9b96a829ca33 /tests/tree_page_test.py | |
| parent | f2056d0a59cd7234610dd7da1ea2c3e2a4be0f00 (diff) | |
| download | git2hugo-74cd345f76dd01034c804f75e7f16b42e9c0643c.tar.gz | |
g2h: Add breadcrumb navigations to file and tree pages
Diffstat (limited to 'tests/tree_page_test.py')
| -rw-r--r-- | tests/tree_page_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tree_page_test.py b/tests/tree_page_test.py index 891e940..a298728 100644 --- a/tests/tree_page_test.py +++ b/tests/tree_page_test.py @@ -53,6 +53,7 @@ def test_context_empty(): assert(context['content_subdir'] == '') assert(context['subdir'] == '/123/t/tree/path') assert(context['title'] == 'tree test: Tree') + assert(context['breadcrumbs'] == '[/](/123/t/)') def test_context_entries(): tree = MagicMock() @@ -111,7 +112,6 @@ def test_get_files(): commit.tree = tree expected = [] for case in [ None, '.file', 'README', 'main.cc' ]: - print(str(case)) if case: add_node(tree, case) expected.append(case) |