Skip to content

Commit

Permalink
Fix publish test
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnan-chandra committed Sep 12, 2024
1 parent 606cae0 commit 9ccb714
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/python/pants/core/goals/publish_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_skipped_publish(rule_runner: RuleRunner) -> None:
)

assert result.exit_code == 0
assert "my-package-0.1.0.tar.gz skipped (requested)." in result.stderr
assert "my_package-0.1.0.tar.gz skipped (requested)." in result.stderr
assert "my_package-0.1.0-py3-none-any.whl skipped (requested)." in result.stderr


Expand Down Expand Up @@ -168,14 +168,14 @@ def test_structured_output(rule_runner: RuleRunner) -> None:
)

assert result.exit_code == 0
assert "my-package-0.1.0.tar.gz skipped (requested)." in result.stderr
assert "my_package-0.1.0.tar.gz skipped (requested)." in result.stderr
assert "my_package-0.1.0-py3-none-any.whl skipped (requested)." in result.stderr

expected = [
{
"names": [
"my-package-0.1.0.tar.gz",
"my_package-0.1.0-py3-none-any.whl",
"my_package-0.1.0.tar.gz",
],
"published": False,
"status": "skipped (requested)",
Expand Down

0 comments on commit 9ccb714

Please sign in to comment.