mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 19:54:27 -04:00
fix up various test cases
A few test cases were relying on being able to mount non-client servlets on the test resource. it's better to give them their own Resources.
This commit is contained in:
parent
693516e756
commit
7ea85302f3
5 changed files with 38 additions and 17 deletions
|
@ -216,8 +216,9 @@ def make_request(
|
|||
and not path.startswith(b"/_matrix")
|
||||
and not path.startswith(b"/_synapse")
|
||||
):
|
||||
if path.startswith(b"/"):
|
||||
path = path[1:]
|
||||
path = b"/_matrix/client/r0/" + path
|
||||
path = path.replace(b"//", b"/")
|
||||
|
||||
if not path.startswith(b"/"):
|
||||
path = b"/" + path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue