Skip to content

Commit 2c6eb6c

Browse files
committed
Include every package list in the comparison fixture
1 parent f8c17a7 commit 2c6eb6c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tests/core/test_strict_blocking_no_manifest_change.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from socketsecurity.core.scm.github import Github
1414
from socketsecurity.core.scm.gitlab import Gitlab
1515
from tests.core.test_existing_alerts import (
16+
BUCKETS,
1617
HANDLEBARS_CRITICAL_ADVISORIES,
1718
_cve_alert,
1819
_diff_artifact,
@@ -214,7 +215,8 @@ def comparison(cli_runtime, monkeypatch):
214215
cli_runtime.sdk.diffscans.get.return_value = {
215216
"diff_scan": {
216217
"artifacts": {
217-
"unchanged": [_diff_artifact("unchanged", "u1", "handlebars")]
218+
**{bucket: [] for bucket in BUCKETS},
219+
"unchanged": [_diff_artifact("unchanged", "u1", "handlebars")],
218220
}
219221
}
220222
}

0 commit comments

Comments
 (0)