X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/47cfa3cdb4b4a7c6191e4a63b2a3080b52f076b0..a2d424680628f747d2ec20f2ae3e3758f0d12cc5:/paperdoorknob_test.py diff --git a/paperdoorknob_test.py b/paperdoorknob_test.py index 35756cb..3637514 100644 --- a/paperdoorknob_test.py +++ b/paperdoorknob_test.py @@ -99,10 +99,14 @@ class TestFetch(unittest.TestCase): paperdoorknob.fetch(f"http://localhost:{self._port()}", s, TIMEOUT) self.assertEqual(self._request_counter, 1) - def testProcess(self) -> None: + def testReplies(self) -> None: with requests.session() as s: - replies = paperdoorknob.process( - f"http://localhost:{self._port()}", s, TIMEOUT) + replies = paperdoorknob.replies( + paperdoorknob.clean( + paperdoorknob.fetch( + f"http://localhost:{self._port()}", + s, + TIMEOUT))) self.assertEqual([r.text.strip() for r in replies], ["This is glowfic", "You sure?", "Pretty sure."])