summary refs log tree commit diff
path: root/tests/api
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-09-12 18:24:53 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-09-12 18:46:13 +0100
commitcd62ee3f29456d96d336f4c67cbd37a0a95f7b4a (patch)
treef888ebd96556ae0852093973cc11d1be6d6f9102 /tests/api
parentUpdate CHANGES.rst (diff)
downloadsynapse-cd62ee3f29456d96d336f4c67cbd37a0a95f7b4a.tar.xz
Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY
Diffstat (limited to 'tests/api')
-rw-r--r--tests/api/test_ratelimiting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/test_ratelimiting.py b/tests/api/test_ratelimiting.py
index dc2f83c7eb..dd0bc19ecf 100644
--- a/tests/api/test_ratelimiting.py
+++ b/tests/api/test_ratelimiting.py
@@ -1,6 +1,6 @@
 from synapse.api.ratelimiting import Ratelimiter
 
-import unittest
+from tests import unittest
 
 class TestRatelimiter(unittest.TestCase):