ruff: ruff specific rules
This commit is contained in:
parent
b87c783d45
commit
9170197457
18 changed files with 62 additions and 61 deletions
|
|
@ -11,7 +11,7 @@ class TestBrowser:
|
|||
headers_raw = config["auth"]["headers_raw"].split("\n")
|
||||
with (
|
||||
mock.patch("sys.argv", ["ytmusicapi", "browser", "--file", browser_filepath]),
|
||||
mock.patch("builtins.input", side_effect=(headers_raw + [EOFError()])),
|
||||
mock.patch("builtins.input", side_effect=([*headers_raw, EOFError()])),
|
||||
):
|
||||
headers = main()
|
||||
assert len(headers) >= 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue