]> git.scottworley.com Git - paperdoorknob/blobdiff - paperdoorknob_test.py
Rename: fetch → parse
[paperdoorknob] / paperdoorknob_test.py
index 49bef9f006a699995c47ed1cf5010b53ede8fb4a..9676e286aaae11eb1959cb5868af85e6f3681d25 100644 (file)
@@ -24,7 +24,8 @@ class TestPaperDoorknob(unittest.TestCase):
         with DirectFetcher(TIMEOUT) as f:
             replies = paperdoorknob.replies(
                 paperdoorknob.clean(
-                    paperdoorknob.fetch(f"http://localhost:{self._port}", f)))
+                    paperdoorknob.parse(
+                        f.fetch(f"http://localhost:{self._port}"))))
             self.assertEqual([r.text.strip() for r in replies],
                              ["This is glowfic", "You sure?", "Pretty sure."])