summary refs log tree commit diff
path: root/tests/app
diff options
context:
space:
mode:
authorJason Robinson <jasonr@matrix.org>2019-01-23 10:53:48 +0200
committerJason Robinson <jasonr@matrix.org>2019-01-23 10:53:48 +0200
commit6f680241bd7f53c3a3f912c257d2bfa437dfd486 (patch)
tree6341e7118fc4d4fadd588b2fb03f0678d2401361 /tests/app
parentFix openid tests after rebase (diff)
downloadsynapse-6f680241bd7f53c3a3f912c257d2bfa437dfd486.tar.xz
Fix flake8 issues
Signed-off-by: Jason Robinson <jasonr@matrix.org>
Diffstat (limited to 'tests/app')
-rw-r--r--tests/app/test_openid_listener.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/app/test_openid_listener.py b/tests/app/test_openid_listener.py
index 46a3b61a3c..590abc1e92 100644
--- a/tests/app/test_openid_listener.py
+++ b/tests/app/test_openid_listener.py
@@ -61,7 +61,10 @@ class FederationReaderOpenIDListenerTests(HomeserverTestCase):
                 return
             raise
 
-        request, channel = self.make_request("GET", "/_matrix/federation/v1/openid/userinfo")
+        request, channel = self.make_request(
+            "GET",
+            "/_matrix/federation/v1/openid/userinfo",
+        )
         self.render(request)
 
         self.assertEqual(channel.code, 401)
@@ -107,7 +110,10 @@ class SynapseHomeserverOpenIDListenerTests(HomeserverTestCase):
                 return
             raise
 
-        request, channel = self.make_request("GET", "/_matrix/federation/v1/openid/userinfo")
+        request, channel = self.make_request(
+            "GET",
+            "/_matrix/federation/v1/openid/userinfo",
+        )
         self.render(request)
 
         self.assertEqual(channel.code, 401)