Skip to content

Commit 05bf539

Browse files
committed
style: format supply-chain workflow tests
1 parent a48540b commit 05bf539

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

tests/src/unit/test_supply_chain_workflow_shape.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def test_dev_release_tag_cleanup_uses_authenticated_github_api() -> None:
4646
if step.get("name") == "Delete old dev releases (keep last 5)"
4747
)
4848

49-
assert 'gh api -X DELETE "repos/${GITHUB_REPOSITORY}/git/refs/tags/$TAG"' in create_run
50-
assert 'gh api -X DELETE "repos/${GITHUB_REPOSITORY}/git/refs/tags/$tag"' in cleanup_run
49+
assert (
50+
'gh api -X DELETE "repos/${GITHUB_REPOSITORY}/git/refs/tags/$TAG"' in create_run
51+
)
52+
assert (
53+
'gh api -X DELETE "repos/${GITHUB_REPOSITORY}/git/refs/tags/$tag"'
54+
in cleanup_run
55+
)
5156
assert "git push origin --delete" not in create_run + cleanup_run

0 commit comments

Comments
 (0)