summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-10-24 13:54:38 -0600
committerTravis Ralston <travpc@gmail.com>2018-10-24 13:54:38 -0600
commita5468eaadfb80588ac10b6e1dd69f1282e65b544 (patch)
treea8a377bffdcb47243eb315b2f47a0eeed8cb5daa /tests
parentIt helps to import things (diff)
downloadsynapse-a5468eaadfb80588ac10b6e1dd69f1282e65b544.tar.xz
pep8
Diffstat (limited to 'tests')
-rw-r--r--tests/rest/client/v2_alpha/test_register.py1
-rw-r--r--tests/test_terms_auth.py8
2 files changed, 3 insertions, 6 deletions
diff --git a/tests/rest/client/v2_alpha/test_register.py b/tests/rest/client/v2_alpha/test_register.py
index 5deae1c4dd..1c128e81f5 100644
--- a/tests/rest/client/v2_alpha/test_register.py
+++ b/tests/rest/client/v2_alpha/test_register.py
@@ -1,5 +1,4 @@
 import json
-import six
 
 from mock import Mock
 
diff --git a/tests/test_terms_auth.py b/tests/test_terms_auth.py
index b1b0f2a8c6..06b68f0a72 100644
--- a/tests/test_terms_auth.py
+++ b/tests/test_terms_auth.py
@@ -19,13 +19,11 @@ from mock import Mock
 
 from twisted.test.proto_helpers import MemoryReactorClock
 
-from synapse.api.errors import InteractiveAuthIncompleteError
-from synapse.http.server import JsonResource
 from synapse.rest.client.v2_alpha.register import register_servlets
 from synapse.util import Clock
 
 from tests import unittest
-from tests.server import make_request, render, setup_test_homeserver
+from tests.server import make_request
 
 
 class TermsTestCase(unittest.HomeserverTestCase):
@@ -114,8 +112,8 @@ class TermsTestCase(unittest.HomeserverTestCase):
         request, channel = make_request(b"POST", self.url, request_data)
         self.render(request)
 
-        # We're interested in getting a response that looks like a successful registration,
-        # not so much that the details are exactly what we want.
+        # We're interested in getting a response that looks like a successful
+        # registration, not so much that the details are exactly what we want.
 
         self.assertEquals(channel.result["code"], b"200", channel.result)