summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorblide <cool.shahov@yandex.ru>2016-03-10 12:13:35 +0300
committerblide <cool.shahov@yandex.ru>2016-03-10 12:13:35 +0300
commit1be438f2a653d4c572324095fd7594c006ca98e0 (patch)
tree33c15c4f8b2875106497d6c13d0da6fcc3278e51 /tests
parentRegister endpoint returns refresh_token (diff)
downloadsynapse-1be438f2a653d4c572324095fd7594c006ca98e0.tar.xz
Flake8 fix
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/v2_alpha/test_register.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py
index e19952b8b6..9a202e9dd7 100644
--- a/tests/rest/client/v2_alpha/test_register.py
+++ b/tests/rest/client/v2_alpha/test_register.py
@@ -65,9 +65,9 @@ class RegisterRestServletTestCase(unittest.TestCase):
         (code, result) = yield self.servlet.on_POST(self.request)
         self.assertEquals(code, 200)
         det_data = {
-             "user_id": user_id,
-             "access_token": token,
-             "home_server": self.hs.hostname
+            "user_id": user_id,
+            "access_token": token,
+            "home_server": self.hs.hostname
         }
         self.assertDictContainsSubset(det_data, result)
         self.assertIn("refresh_token", result)
@@ -118,9 +118,9 @@ class RegisterRestServletTestCase(unittest.TestCase):
         (code, result) = yield self.servlet.on_POST(self.request)
         self.assertEquals(code, 200)
         det_data = {
-             "user_id": user_id,
-             "access_token": token,
-             "home_server": self.hs.hostname
+            "user_id": user_id,
+            "access_token": token,
+            "home_server": self.hs.hostname
         }
         self.assertDictContainsSubset(det_data, result)
         self.assertIn("refresh_token", result)