Skip to content

Commit

Permalink
rpm tests: Add unexpected file size 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 3541a00 commit 62cf372
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 @@ -36,6 +36,20 @@
),
id="rpm_invalid_checksum",
),
pytest.param(
utils.TestParameters(
repo="https://github.com/cachito-testing/cachi2-rpm",
ref="e7f9d77145a2e44e766aaae99547a665d9969d26",
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="Unexpected file size",
),
id="rpm_incorrect_size",
),
],
)
def test_rpm_packages(
Expand Down

0 comments on commit 62cf372

Please sign in to comment.