Make black happy with new formatting for tests

This commit is contained in:
iakov
2023-02-03 20:12:01 +03:00
parent cc7be3dc29
commit 77910835c2
2 changed files with 0 additions and 3 deletions

View File

@@ -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]): def test_set_arch(arch: Optional[str], host: str, target: str, version: str, expect: Optional[str]):
if not expect: if not expect:
with pytest.raises(CliInputError) as e: with pytest.raises(CliInputError) as e:
Cli._set_arch(arch, host, target, version) Cli._set_arch(arch, host, target, version)

View File

@@ -127,7 +127,6 @@ def mocked_requests_get(*args, **kwargs):
def test_helper_downloadBinary_md5(tmp_path, monkeypatch): def test_helper_downloadBinary_md5(tmp_path, monkeypatch):
monkeypatch.setattr(requests.Session, "get", mocked_requests_get) monkeypatch.setattr(requests.Session, "get", mocked_requests_get)
expected = binascii.unhexlify("1d41a93e4a585bb01e4518d4af431933") expected = binascii.unhexlify("1d41a93e4a585bb01e4518d4af431933")
@@ -136,7 +135,6 @@ def test_helper_downloadBinary_md5(tmp_path, monkeypatch):
def test_helper_downloadBinary_sha256(tmp_path, monkeypatch): def test_helper_downloadBinary_sha256(tmp_path, monkeypatch):
monkeypatch.setattr(requests.Session, "get", mocked_requests_get) monkeypatch.setattr(requests.Session, "get", mocked_requests_get)
expected = binascii.unhexlify("07b3ef4606b712923a14816b1cfe9649687e617d030fc50f948920d784c0b1cd") expected = binascii.unhexlify("07b3ef4606b712923a14816b1cfe9649687e617d030fc50f948920d784c0b1cd")