Skip to content

Commit

Permalink
rpm tests: Add unmatched checksum integration test scenario
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Pimentel <[email protected]>
  • Loading branch information
brunoapimentel committed Apr 24, 2024
1 parent 0c1db09 commit 3541a00
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/integration/test_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@
),
id="rpm_missing_checksums",
),
pytest.param(
utils.TestParameters(
repo="https://github.com/cachito-testing/cachi2-rpm",
ref="9ff1dfe6c0083f1a1dd7fdabca79b9c86fc5c134",
packages=({"path": ".", "type": "rpm"},),
flags=["--dev-package-managers"],
check_output=False,
check_deps_checksums=False,
check_vendor_checksums=False,
expected_exit_code=2,
expected_output="Unmatched checksum",
),
id="rpm_invalid_checksum",
),
],
)
def test_rpm_packages(
Expand Down

0 comments on commit 3541a00

Please sign in to comment.