summary refs log tree commit diff
path: root/tests/replication
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-12-15 22:28:06 +0000
committerRichard van der Hoff <richard@matrix.org>2020-12-15 22:35:50 +0000
commitc9dd47d66864714043b51a235909e3e957740c7b (patch)
tree2f6da2e62de09f2b9f64efd8bb260336ebc34b27 /tests/replication
parentchangelog (diff)
downloadsynapse-c9dd47d66864714043b51a235909e3e957740c7b.tar.xz
lint
Diffstat (limited to 'tests/replication')
-rw-r--r--tests/replication/test_auth.py2
-rw-r--r--tests/replication/test_client_reader_shard.py3
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/replication/test_auth.py b/tests/replication/test_auth.py
index c5ab3032a5..f35a5235e1 100644
--- a/tests/replication/test_auth.py
+++ b/tests/replication/test_auth.py
@@ -13,9 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 import logging
-from typing import Tuple
 
-from synapse.http.site import SynapseRequest
 from synapse.rest.client.v2_alpha import register
 
 from tests.replication._base import BaseMultiWorkerStreamTestCase
diff --git a/tests/replication/test_client_reader_shard.py b/tests/replication/test_client_reader_shard.py
index abcc74f932..4608b65a0c 100644
--- a/tests/replication/test_client_reader_shard.py
+++ b/tests/replication/test_client_reader_shard.py
@@ -14,11 +14,10 @@
 # limitations under the License.
 import logging
 
-from synapse.http.site import SynapseRequest
 from synapse.rest.client.v2_alpha import register
 
 from tests.replication._base import BaseMultiWorkerStreamTestCase
-from tests.server import FakeChannel, make_request
+from tests.server import make_request
 
 logger = logging.getLogger(__name__)