This commit is contained in:
@@ -76,3 +76,13 @@ def test_audit_flagged_runtime_dependencies_have_import_evidence():
|
||||
missing_evidence.append(package)
|
||||
|
||||
assert missing_evidence == []
|
||||
|
||||
|
||||
def test_cli_ssh_helper_replaces_legacy_paramiko_dependency():
|
||||
requirements = _requirement_names()
|
||||
helper_source = (ROOT / "utils" / "ssh_helper.py").read_text(encoding="utf-8")
|
||||
|
||||
assert "paramiko" not in requirements
|
||||
assert "subprocess.run" in helper_source
|
||||
assert '"ssh"' in helper_source
|
||||
assert "paramiko" not in helper_source
|
||||
|
||||
Reference in New Issue
Block a user