diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-18 14:03:07 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-19 11:16:23 +0100 |
commit | bb793019a59cbb98e8981ba3515dc15263689158 (patch) | |
tree | bb4093ef6d0aa938499f5229be51401ee9843ab2 /tests/utils.py | |
parent | Reduce the amount of incredibly spammy stack traces. Expected errors (e.g. Sy... (diff) | |
download | synapse-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.py | 3 |
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 |