summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-18 14:03:07 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-19 11:16:23 +0100
commitbb793019a59cbb98e8981ba3515dc15263689158 (patch)
treebb4093ef6d0aa938499f5229be51401ee9843ab2 /tests/utils.py
parentReduce the amount of incredibly spammy stack traces. Expected errors (e.g. Sy... (diff)
downloadsynapse-bb793019a59cbb98e8981ba3515dc15263689158.tar.xz
Rename MockHttpServer to MockHttpResource as it stands for one server resource rather than an entire server
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 20a63316fd..9bb32fb048 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -29,7 +29,8 @@ import json
 import urlparse
 
 
-class MockHttpServer(HttpServer):
+# This is a mock /resource/ not an entire server
+class MockHttpResource(HttpServer):
 
     def __init__(self, prefix=""):
         self.callbacks = []  # 3-tuple of method/pattern/function