Skip to content

Commit

Permalink
Make black happy with new formatting for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov committed Feb 3, 2023
1 parent cc7be3d commit 7791083
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions tests/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit 7791083

Please sign in to comment.