mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-12 04:52:26 +01:00
Fix openid tests after rebase
Signed-off-by: Jason Robinson <jasonr@matrix.org>
This commit is contained in:
parent
a47fac9af6
commit
1838ef1ac3
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ class FederationReaderOpenIDListenerTests(HomeserverTestCase):
|
||||||
site = self.reactor.tcpServers[0][1]
|
site = self.reactor.tcpServers[0][1]
|
||||||
try:
|
try:
|
||||||
self.resource = (
|
self.resource = (
|
||||||
site.resource.children[b"_matrix"].children[b"federation"].children[b"v1"]
|
site.resource.children[b"_matrix"].children[b"federation"]
|
||||||
)
|
)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
if expectation == "no_resource":
|
if expectation == "no_resource":
|
||||||
|
@ -100,7 +100,7 @@ class SynapseHomeserverOpenIDListenerTests(HomeserverTestCase):
|
||||||
site = self.reactor.tcpServers[0][1]
|
site = self.reactor.tcpServers[0][1]
|
||||||
try:
|
try:
|
||||||
self.resource = (
|
self.resource = (
|
||||||
site.resource.children[b"_matrix"].children[b"federation"].children[b"v1"]
|
site.resource.children[b"_matrix"].children[b"federation"]
|
||||||
)
|
)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
if expectation == "no_resource":
|
if expectation == "no_resource":
|
||||||
|
|
Loading…
Reference in a new issue