mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 17:24:50 -04:00
Run Black on the tests again (#5170)
This commit is contained in:
parent
d9a02d1201
commit
b36c82576e
54 changed files with 818 additions and 1158 deletions
|
@ -33,9 +33,7 @@ class TestMauLimit(unittest.HomeserverTestCase):
|
|||
def make_homeserver(self, reactor, clock):
|
||||
|
||||
self.hs = self.setup_test_homeserver(
|
||||
"red",
|
||||
http_client=None,
|
||||
federation_client=Mock(),
|
||||
"red", http_client=None, federation_client=Mock()
|
||||
)
|
||||
|
||||
self.store = self.hs.get_datastore()
|
||||
|
@ -210,9 +208,7 @@ class TestMauLimit(unittest.HomeserverTestCase):
|
|||
return access_token
|
||||
|
||||
def do_sync_for_user(self, token):
|
||||
request, channel = self.make_request(
|
||||
"GET", "/sync", access_token=token
|
||||
)
|
||||
request, channel = self.make_request("GET", "/sync", access_token=token)
|
||||
self.render(request)
|
||||
|
||||
if channel.code != 200:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue