We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cbba39 commit c8a2ca6Copy full SHA for c8a2ca6
tests/test_hg.py
@@ -94,4 +94,6 @@ def test_vulnerability_2022_03_12_command_injection(
94
with pytest.raises(Exception):
95
mercurial_repo.update_repo()
96
97
- assert pathlib.Path(random_dir / "HELLO").exists()
+ assert not pathlib.Path(
98
+ random_dir / "HELLO"
99
+ ).exists(), "Prevent command injection in hg aliases"
0 commit comments