diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-08-31 01:09:37 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-08-31 15:53:33 +0200 |
| commit | 284f3972844ea124c0cd9ee5500e99440bb96aac (patch) | |
| tree | b8dee22222c38b12cc00daf98280e1b2060bcca7 /tests/overview_test.py | |
| parent | b06dbf67b9ac9e329922d7911ee7a9b09419c5f0 (diff) | |
| download | git2hugo-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.py | 9 |
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') |