From: Scott Worley Date: Thu, 23 Nov 2023 20:54:43 +0000 (-0800) Subject: fetch: test: Explicitly close webserver X-Git-Url: http://git.scottworley.com/paperdoorknob/commitdiff_plain/971e665870ae3d1f38e270e716364dd2ff3dd5a2?hp=681380e2377aba038aaa22e1992dea54d6697a70 fetch: test: Explicitly close webserver This fixes "unclosed None: self._web_server.shutdown() self._thread.join() + self._web_server.server_close() def testFetch(self) -> None: paperdoorknob.fetch(f"http://localhost:{self._port()}", TIMEOUT)