1.1 --- a/tests/test_parser.py Sat Apr 13 00:26:57 2019 +0200
1.2 +++ b/tests/test_parser.py Sat Apr 13 19:25:53 2019 +0200
1.3 @@ -29,10 +29,18 @@
1.4 "pagename" : "TestPage",
1.5 })
1.6
1.7 + # Encode the input.
1.8 +
1.9 output = make_output(metadata)
1.10 expected = output.encode(s)
1.11
1.12 + # Obtain and encode the output.
1.13 +
1.14 result = serialise(d, make_serialiser(metadata))
1.15 + result = output.encode(result)
1.16 +
1.17 + # Test encoded input and output.
1.18 +
1.19 identical = result == expected
1.20
1.21 if quiet: