2019-04-11 | Paul Boddie | raw files shortlog changelog graph | Set a pagename so that links in the HTML output make more sense. | |
tests/test_parser.py (file) |
1.1 --- a/tests/test_parser.py Tue Apr 09 16:30:39 2019 +0200 1.2 +++ b/tests/test_parser.py Thu Apr 11 22:54:17 2019 +0200 1.3 @@ -25,7 +25,9 @@ 1.4 1.5 "Compare serialised output from 'd' with its original form 's'." 1.6 1.7 - metadata = Metadata() 1.8 + metadata = Metadata({ 1.9 + "pagename" : "TestPage", 1.10 + }) 1.11 1.12 output = make_output(metadata) 1.13 expected = output.encode(s)