]> git.scottworley.com Git - paperdoorknob/blobdiff - paperdoorknob_test.py
Handle Unicode characters ≈ and ◁
[paperdoorknob] / paperdoorknob_test.py
index f2cd5f1115e21576d9f771eacfd03d130b93082d..571dda6847abb40b59855b9c90d81d28ce12f95a 100644 (file)
@@ -121,7 +121,8 @@ class TestProcessFromFakeFetcher(BaseTestProcess, unittest.TestCase):
 
     def fetcher(self) -> Fetcher:
         with open('testdata/this-is-glowfic.html', 'rb') as f:
 
     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__':
 
 
 if __name__ == '__main__':