Skip to content

Commit 7670488

Browse files
Reformat "requests" module unit tests
1 parent 688e5ac commit 7670488

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

test/simplejustwatchpythonapi/test_requests.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,11 @@
8383
argvalues=[
8484
("TITLE 1", "US", "language 1", 5, True),
8585
("TITLE 2", "gb", "language 2", 10, False),
86-
]
86+
],
8787
)
88-
def test_prepare_search_request(title: str, country: str, language: str, count: int, best_only: bool) -> None:
88+
def test_prepare_search_request(
89+
title: str, country: str, language: str, count: int, best_only: bool
90+
) -> None:
8991
expected_request = {
9092
"operationName": "GetSearchTitles",
9193
"variables": {
@@ -110,7 +112,7 @@ def test_prepare_search_request(title: str, country: str, language: str, count:
110112
("United Stated of America",), # too long
111113
("usa",), # too long
112114
("u",), # too short
113-
]
115+
],
114116
)
115117
def test_prepare_search_request_asserts_on_invalid_country_code(invalid_code: str) -> None:
116118
expected_error_message = f"Invalid country code: {invalid_code}, code must be 2 characters long"

0 commit comments

Comments
 (0)