Skip to content

Commit

Permalink
feat(int tests): add "incorrect checksum" scenario
Browse files Browse the repository at this point in the history
STONEBLD-1895

Signed-off-by: Ben Alkov <[email protected]>
  • Loading branch information
ben-alkov committed Jan 3, 2024
1 parent 05b05d1 commit dbd7905
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/integration/test_yarn.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,20 @@
),
id="yarn_immutable_installs",
),
pytest.param(
utils.TestParameters(
repo="https://github.com/cachito-testing/cachi2-yarn-berry.git",
ref="c5268f91f0a0b68fa72d4f2c3a570d348d194241",
packages=({"path": ".", "type": "yarn"},),
check_output=False,
check_deps_checksums=False,
check_vendor_checksums=False,
flags=["--dev-package-managers"],
expected_exit_code=1,
expected_output="typescript@npm:5.3.3: The remote archive doesn't match the expected checksum",
),
id="yarn_incorrect_checksum",
),
],
)
def test_yarn_packages(
Expand Down

0 comments on commit dbd7905

Please sign in to comment.