Skip to content

Commit 5f399f8

Browse files
committed
Fix formatting
1 parent d9cee43 commit 5f399f8

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

tests/test_web_api.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,7 @@ async def test_thirty_thirty_cycling(mock_rest) -> None:
236236
mock_rest.requests[
237237
(
238238
"post",
239-
normalize_url(
240-
"https://euiot.roborock.com/api/v4/email/code/send"
241-
),
239+
normalize_url("https://euiot.roborock.com/api/v4/email/code/send"),
242240
)
243241
]
244242
)
@@ -249,17 +247,15 @@ async def test_thirty_thirty_cycling(mock_rest) -> None:
249247
mock_rest.requests[
250248
(
251249
"post",
252-
normalize_url(
253-
"https://usiot.roborock.com/api/v4/email/code/send"
254-
),
250+
normalize_url("https://usiot.roborock.com/api/v4/email/code/send"),
255251
)
256252
]
257253
)
258254
== 1
259255
)
260256
# Assert that we didn't try on the Russian or Chinese regions
261-
assert('https://ruiot.roborock.com/api/v4/email/code/send' not in mock_rest.requests)
262-
assert('https://cniot.roborock.com/api/v4/email/code/send' not in mock_rest.requests)
257+
assert "https://ruiot.roborock.com/api/v4/email/code/send" not in mock_rest.requests
258+
assert "https://cniot.roborock.com/api/v4/email/code/send" not in mock_rest.requests
263259

264260

265261
async def test_missing_country_login(mock_rest) -> None:

0 commit comments

Comments
 (0)