summary refs log tree commit diff
path: root/tests/app
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-07 02:58:18 +1000
committerGitHub <noreply@github.com>2018-09-07 02:58:18 +1000
commit52ec6e9dfad5e088f000d20cbb4a1bbc8008c00d (patch)
treec146b5df538580374b1412454af34eb99faae4ec /tests/app
parentMerge pull request #3800 from matrix-org/neilj/remove-guests-from-mau-count (diff)
downloadsynapse-52ec6e9dfad5e088f000d20cbb4a1bbc8008c00d.tar.xz
Port tests/ to Python 3 (#3808)
Diffstat (limited to 'tests/app')
-rw-r--r--tests/app/test_frontend_proxy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/test_frontend_proxy.py b/tests/app/test_frontend_proxy.py
index 76b5090fff..a83f567ebd 100644
--- a/tests/app/test_frontend_proxy.py
+++ b/tests/app/test_frontend_proxy.py
@@ -47,7 +47,7 @@ class FrontendProxyTests(HomeserverTestCase):
         self.assertEqual(len(self.reactor.tcpServers), 1)
         site = self.reactor.tcpServers[0][1]
         self.resource = (
-            site.resource.children["_matrix"].children["client"].children["r0"]
+            site.resource.children[b"_matrix"].children[b"client"].children[b"r0"]
         )
 
         request, channel = self.make_request("PUT", "presence/a/status")
@@ -77,7 +77,7 @@ class FrontendProxyTests(HomeserverTestCase):
         self.assertEqual(len(self.reactor.tcpServers), 1)
         site = self.reactor.tcpServers[0][1]
         self.resource = (
-            site.resource.children["_matrix"].children["client"].children["r0"]
+            site.resource.children[b"_matrix"].children[b"client"].children[b"r0"]
         )
 
         request, channel = self.make_request("PUT", "presence/a/status")