Skip to content

Commit 3edb65e

Browse files
committed
darken
1 parent c43cfdb commit 3edb65e

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

src/_zkapauthorizer/tests/test_client_resource.py

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,22 +1000,26 @@ def create_proto():
10001000
pumper.start()
10011001

10021002
# first recovery will fail
1003-
d0 = Deferred.fromCoroutine(recover(
1004-
agent,
1005-
DecodedURL.from_text("ws://127.0.0.1:1/"),
1006-
api_auth_token,
1007-
self.GOOD_CAPABILITY,
1008-
))
1003+
d0 = Deferred.fromCoroutine(
1004+
recover(
1005+
agent,
1006+
DecodedURL.from_text("ws://127.0.0.1:1/"),
1007+
api_auth_token,
1008+
self.GOOD_CAPABILITY,
1009+
)
1010+
)
10091011
pumper._flush()
10101012

10111013
# try to recover again (this one should work, as we only fail
10121014
# once in the test-provided downloader)
1013-
d1 = Deferred.fromCoroutine(recover(
1014-
agent,
1015-
DecodedURL.from_text("ws://127.0.0.1:1/"),
1016-
api_auth_token,
1017-
self.GOOD_CAPABILITY,
1018-
))
1015+
d1 = Deferred.fromCoroutine(
1016+
recover(
1017+
agent,
1018+
DecodedURL.from_text("ws://127.0.0.1:1/"),
1019+
api_auth_token,
1020+
self.GOOD_CAPABILITY,
1021+
)
1022+
)
10191023
pumper._flush()
10201024

10211025
self.assertThat(
@@ -1035,7 +1039,7 @@ def create_proto():
10351039
},
10361040
]
10371041
)
1038-
)
1042+
),
10391043
)
10401044
# second attempt should succeed
10411045
self.assertThat(
@@ -1055,7 +1059,7 @@ def create_proto():
10551059
},
10561060
]
10571061
)
1058-
)
1062+
),
10591063
)
10601064

10611065

0 commit comments

Comments
 (0)