X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/19ed28f37b59e480cebe8f122e07ce18ce536db8..53f396b459889b46e6feea48e8fa8e89b2452e9f:/paperdoorknob_test.py?ds=inline diff --git a/paperdoorknob_test.py b/paperdoorknob_test.py index f2cd5f1..571dda6 100644 --- a/paperdoorknob_test.py +++ b/paperdoorknob_test.py @@ -121,7 +121,8 @@ class TestProcessFromFakeFetcher(BaseTestProcess, unittest.TestCase): def fetcher(self) -> Fetcher: with open('testdata/this-is-glowfic.html', 'rb') as f: - return FakeFetcher({'fic?view=flat': f.read(9999)}) + html = f.read(9999) + return FakeFetcher({'fic': html, 'fic?view=flat': html}) if __name__ == '__main__':