mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 20:34:48 -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
|
@ -84,9 +84,8 @@ class TestCase(unittest.TestCase):
|
|||
# all future bets are off.
|
||||
if LoggingContext.current_context() is not LoggingContext.sentinel:
|
||||
self.fail(
|
||||
"Test starting with non-sentinel logging context %s" % (
|
||||
LoggingContext.current_context(),
|
||||
)
|
||||
"Test starting with non-sentinel logging context %s"
|
||||
% (LoggingContext.current_context(),)
|
||||
)
|
||||
|
||||
old_level = logging.getLogger().level
|
||||
|
@ -300,7 +299,13 @@ class HomeserverTestCase(TestCase):
|
|||
content = json.dumps(content).encode('utf8')
|
||||
|
||||
return make_request(
|
||||
self.reactor, method, path, content, access_token, request, shorthand,
|
||||
self.reactor,
|
||||
method,
|
||||
path,
|
||||
content,
|
||||
access_token,
|
||||
request,
|
||||
shorthand,
|
||||
federation_auth_origin,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue