summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-01-22 12:38:18 +0000
committerBrendan Abolivier <babolivier@matrix.org>2020-01-22 12:38:18 +0000
commit6ae0c8db3335faa9b5f0e4407f7a4a3713c84062 (patch)
treecbaa73a4780e8f61a60f1cc1815eeb7ca9842bbe
parentRemove unused import (diff)
downloadsynapse-6ae0c8db3335faa9b5f0e4407f7a4a3713c84062.tar.xz
Lint + changelog
-rw-r--r--changelog.d/6764.misc1
-rw-r--r--tests/rest/media/v1/test_media_storage.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/changelog.d/6764.misc b/changelog.d/6764.misc
new file mode 100644
index 0000000000..8edd767405
--- /dev/null
+++ b/changelog.d/6764.misc
@@ -0,0 +1 @@
+Fixup `synapse.rest` to pass mypy.
diff --git a/tests/rest/media/v1/test_media_storage.py b/tests/rest/media/v1/test_media_storage.py
index 6345cc7637..1809ceb839 100644
--- a/tests/rest/media/v1/test_media_storage.py
+++ b/tests/rest/media/v1/test_media_storage.py
@@ -162,9 +162,7 @@ class MediaRepoTests(unittest.HomeserverTestCase):
 
     def _req(self, content_disposition):
 
-        request, channel = self.make_request(
-            "GET", self.media_id, shorthand=False
-        )
+        request, channel = self.make_request("GET", self.media_id, shorthand=False)
         request.render(self.download_resource)
         self.pump()