X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/1fac41bf2d403d35d43dd532a37a8225f682bae2..d6e27f4bb8ab56ca2545a72ab3433a12b1eb4a7f:/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__':