From 74cd345f76dd01034c804f75e7f16b42e9c0643c Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Thu, 18 Sep 2025 22:05:48 +0200 Subject: g2h: Add breadcrumb navigations to file and tree pages --- tests/tree_page_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tree_page_test.py') 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) -- cgit v1.2.3