summary refs log tree commit diff
path: root/tests/crypto
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-08-11 00:01:43 +1000
committerAmber Brown <hawkowl@atleastfornow.net>2018-08-11 00:01:43 +1000
commit807449d8f212ff111acb44d8f418dcac7d69f713 (patch)
tree1c51fcb457afa23022880ef64f7f9e69da0258b1 /tests/crypto
parentchangelog (diff)
downloadsynapse-807449d8f212ff111acb44d8f418dcac7d69f713.tar.xz
fix up a forced long line
Diffstat (limited to 'tests/crypto')
-rw-r--r--tests/crypto/test_keyring.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/crypto/test_keyring.py b/tests/crypto/test_keyring.py
index e40681ed1e..0c6f510d11 100644
--- a/tests/crypto/test_keyring.py
+++ b/tests/crypto/test_keyring.py
@@ -60,8 +60,9 @@ class KeyringTestCase(unittest.TestCase):
         self.hs = yield utils.setup_test_homeserver(
             handlers=None, http_client=self.http_client
         )
+        keys = self.mock_perspective_server.get_verify_keys()
         self.hs.config.perspectives = {
-            self.mock_perspective_server.server_name: self.mock_perspective_server.get_verify_keys()
+            self.mock_perspective_server.server_name: keys
         }
 
     def check_context(self, _, expected):