summary refs log tree commit diff
path: root/tests/test_terms_auth.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-10-24 13:32:13 -0600
committerTravis Ralston <travpc@gmail.com>2018-10-24 13:32:13 -0600
commit81880beff497c516946e28eb5d119ee60cad69e5 (patch)
tree4ecef767b3d405b9ce53498e29e3ac8618c5410b /tests/test_terms_auth.py
parentMove test to where the other integration tests are (diff)
downloadsynapse-81880beff497c516946e28eb5d119ee60cad69e5.tar.xz
It helps to import things
Diffstat (limited to 'tests/test_terms_auth.py')
-rw-r--r--tests/test_terms_auth.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test_terms_auth.py b/tests/test_terms_auth.py
index 0d95ae09b7..b1b0f2a8c6 100644
--- a/tests/test_terms_auth.py
+++ b/tests/test_terms_auth.py
@@ -12,6 +12,22 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+import json
+
+import six
+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
+
+
 class TermsTestCase(unittest.HomeserverTestCase):
     servlets = [register_servlets]