mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 13:14:37 +03:00
Make black happy with new formatting for tests
This commit is contained in:
@@ -205,7 +205,6 @@ def test_cli_check_mirror():
|
||||
),
|
||||
)
|
||||
def test_set_arch(arch: Optional[str], host: str, target: str, version: str, expect: Optional[str]):
|
||||
|
||||
if not expect:
|
||||
with pytest.raises(CliInputError) as e:
|
||||
Cli._set_arch(arch, host, target, version)
|
||||
|
||||
@@ -127,7 +127,6 @@ def mocked_requests_get(*args, **kwargs):
|
||||
|
||||
|
||||
def test_helper_downloadBinary_md5(tmp_path, monkeypatch):
|
||||
|
||||
monkeypatch.setattr(requests.Session, "get", mocked_requests_get)
|
||||
|
||||
expected = binascii.unhexlify("1d41a93e4a585bb01e4518d4af431933")
|
||||
@@ -136,7 +135,6 @@ def test_helper_downloadBinary_md5(tmp_path, monkeypatch):
|
||||
|
||||
|
||||
def test_helper_downloadBinary_sha256(tmp_path, monkeypatch):
|
||||
|
||||
monkeypatch.setattr(requests.Session, "get", mocked_requests_get)
|
||||
|
||||
expected = binascii.unhexlify("07b3ef4606b712923a14816b1cfe9649687e617d030fc50f948920d784c0b1cd")
|
||||
|
||||
Reference in New Issue
Block a user