Suppress request logging in the LTI test server.

This commit is contained in:
Ned Batchelder
2013-10-02 09:39:07 -04:00
parent 9cd0771fd0
commit 3c2d1003b4

View File

@@ -13,6 +13,10 @@ class MockLTIRequestHandler(BaseHTTPRequestHandler):
protocol = "HTTP/1.0"
def log_request(self, *args, **kwargs):
"""Don't log requests, this is just test code."""
pass
def do_HEAD(self):
self._send_head()