mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 04:24:52 -04:00
Rename MockHttpServer to MockHttpResource as it stands for one server resource rather than an entire server
This commit is contained in:
parent
f48792eec4
commit
bb793019a5
7 changed files with 147 additions and 146 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue