summaryrefslogtreecommitdiffstats
path: root/tests/overview_test.py
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-08-31 01:09:37 +0200
committerChristoph Schlosser <christoph@linux.com>2025-08-31 15:53:33 +0200
commit284f3972844ea124c0cd9ee5500e99440bb96aac (patch)
treeb8dee22222c38b12cc00daf98280e1b2060bcca7 /tests/overview_test.py
parentb06dbf67b9ac9e329922d7911ee7a9b09419c5f0 (diff)
downloadgit2hugo-284f3972844ea124c0cd9ee5500e99440bb96aac.tar.gz
g2h: Add file page
Also move helpers to dedicated files.
Diffstat (limited to 'tests/overview_test.py')
-rw-r--r--tests/overview_test.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/overview_test.py b/tests/overview_test.py
deleted file mode 100644
index 06eea97..0000000
--- a/tests/overview_test.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from g2h.overview_page import OverviewPage
-
-def test_init():
- page = OverviewPage('test/overview', 'overview test', 'test branch', 'test tag', 'overview/sub/dir')
- context = page.context()
- assert(context['title'] == 'overview test')
- assert(context['branches'] == 'test branch')
- assert(context['tags'] == 'test tag')
- assert(context['content_subdir'] == 'overview/sub/dir')