Parcourir la source

Fix openid tests after rebase

Signed-off-by: Jason Robinson <jasonr@matrix.org>
Jason Robinson il y a 5 ans
Parent
commit
1838ef1ac3
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      tests/app/test_openid_listener.py

+ 2 - 2
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":