summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorJason Robinson <jasonr@matrix.org>2019-01-23 10:38:13 +0200
committerJason Robinson <jasonr@matrix.org>2019-01-23 10:38:13 +0200
commit1838ef1ac39d624e21786120b402d04a0c4485ba (patch)
tree77ed0631dd60936e9f2df9dafa027b622e9cedfe /tests
parentFix sorting of imports in tests. Remove an unnecessary mock (diff)
downloadsynapse-1838ef1ac39d624e21786120b402d04a0c4485ba.tar.xz
Fix openid tests after rebase
Signed-off-by: Jason Robinson <jasonr@matrix.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/app/test_openid_listener.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/test_openid_listener.py b/tests/app/test_openid_listener.py
index c1ebc93f52..46a3b61a3c 100644
--- a/tests/app/test_openid_listener.py
+++ b/tests/app/test_openid_listener.py
@@ -54,7 +54,7 @@ class FederationReaderOpenIDListenerTests(HomeserverTestCase):
         site = self.reactor.tcpServers[0][1]
         try:
             self.resource = (
-                site.resource.children[b"_matrix"].children[b"federation"].children[b"v1"]
+                site.resource.children[b"_matrix"].children[b"federation"]
             )
         except KeyError:
             if expectation == "no_resource":
@@ -100,7 +100,7 @@ class SynapseHomeserverOpenIDListenerTests(HomeserverTestCase):
         site = self.reactor.tcpServers[0][1]
         try:
             self.resource = (
-                site.resource.children[b"_matrix"].children[b"federation"].children[b"v1"]
+                site.resource.children[b"_matrix"].children[b"federation"]
             )
         except KeyError:
             if expectation == "no_resource":