Skip to content

Commit

Permalink
style: pre-commit.ci auto fixes [...]
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Apr 11, 2024
1 parent d9a2d13 commit 58686e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions signingscript/tests/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ async def test_async_main_apple_notarization_stacked_multi(tmpdir, mocker):
mocker.patch.object(script, "copy_to_dir", new=noop_sync)
await async_main_helper(tmpdir, mocker, formats)


@pytest.mark.asyncio
async def test_async_main_apple_notarization_no_config(tmpdir, mocker):
formats = ["apple_notarization"]
Expand Down
5 changes: 1 addition & 4 deletions signingscript/tests/test_sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -1500,10 +1500,7 @@ async def test_apple_notarize_stacked(mocker, context):
mocker.patch.object(sign.utils, "mkdir", noop_sync)
mocker.patch.object(sign.utils, "copy_to_dir", noop_sync)

await sign.apple_notarize_stacked(
context,
{"/app.tar.gz": {"full_path": "/app.tar.gz", "formats": ["apple_notarize_stacked"]}}
)
await sign.apple_notarize_stacked(context, {"/app.tar.gz": {"full_path": "/app.tar.gz", "formats": ["apple_notarize_stacked"]}})
# one for each file format
assert notarize.await_count == 2
assert wait.await_count == 2
Expand Down

0 comments on commit 58686e6

Please sign in to comment.