X-Git-Url: http://git.scottworley.com/paperdoorknob/blobdiff_plain/dbda64b551aaeffa4f01779a52c7ec68b1fffa98..47e940089d73e13a8f7f1d12344c2eb9bcaa3454:/testing/fakeserver.py diff --git a/testing/fakeserver.py b/testing/fakeserver.py index bbeb522..fbef2e5 100644 --- a/testing/fakeserver.py +++ b/testing/fakeserver.py @@ -16,6 +16,7 @@ class FakeGlowficHTTPRequestHandler(BaseHTTPRequestHandler): return 200 def do_GET(self) -> None: + self._notify_server() with open("testdata/this-is-glowfic.html", "rb") as f: body = f.read(9999) self.send_response(self._response_code()) @@ -23,7 +24,6 @@ class FakeGlowficHTTPRequestHandler(BaseHTTPRequestHandler): self.send_header("Content-Length", str(len(body))) self.end_headers() self.wfile.write(body) - self._notify_server() class FakeGlowficServer():