mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Lint + changelog
This commit is contained in:
parent
d9a8728b11
commit
6ae0c8db33
1
changelog.d/6764.misc
Normal file
1
changelog.d/6764.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fixup `synapse.rest` to pass mypy.
|
@ -162,9 +162,7 @@ class MediaRepoTests(unittest.HomeserverTestCase):
|
|||||||
|
|
||||||
def _req(self, content_disposition):
|
def _req(self, content_disposition):
|
||||||
|
|
||||||
request, channel = self.make_request(
|
request, channel = self.make_request("GET", self.media_id, shorthand=False)
|
||||||
"GET", self.media_id, shorthand=False
|
|
||||||
)
|
|
||||||
request.render(self.download_resource)
|
request.render(self.download_resource)
|
||||||
self.pump()
|
self.pump()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user