Changeset View
Changeset View
Standalone View
Standalone View
swh/scanner/tests/data.py
Show All 12 Lines | present_swhids = [ | ||||
"swh:1:cnt:7c4c57ba9ff496ad179b8f65b1d286edbda34c9a", # quotes.md | "swh:1:cnt:7c4c57ba9ff496ad179b8f65b1d286edbda34c9a", # quotes.md | ||||
"swh:1:cnt:68769579c3eaadbe555379b9c3538e6628bae1eb", # some-binary | "swh:1:cnt:68769579c3eaadbe555379b9c3538e6628bae1eb", # some-binary | ||||
"swh:1:dir:9619a28687b2462efbb5be816bc1185b95753d93", # barfoo2/ | "swh:1:dir:9619a28687b2462efbb5be816bc1185b95753d93", # barfoo2/ | ||||
"swh:1:dir:07d4d9ec5c406632d203dbd4631e7863612a0326", # toexclude/ | "swh:1:dir:07d4d9ec5c406632d203dbd4631e7863612a0326", # toexclude/ | ||||
] | ] | ||||
# these SWHIDs are considered known by the fake backend (scanner.test.flask_api) | # these SWHIDs are considered known by the fake backend (scanner.test.flask_api) | ||||
unknown_swhids = [ | unknown_swhids = [ | ||||
"swh:1:dir:0a7b61ef5780b03aa274d11069564980246445ce", # root directory | "swh:1:dir:fe8cd7076bef324eb8865f818ef08617879022ce", # root sample-folder-policy | ||||
"swh:1:dir:0a7b61ef5780b03aa274d11069564980246445ce", # root sample-folder | |||||
"swh:1:cnt:5f1cfce26640056bed3710cfaf3062a6a326a119", # toexclude/example.txt | "swh:1:cnt:5f1cfce26640056bed3710cfaf3062a6a326a119", # toexclude/example.txt | ||||
"swh:1:dir:07d4d9ec5c406632d203dbd4631e7863612a0326", # toexclude/ | "swh:1:dir:07d4d9ec5c406632d203dbd4631e7863612a0326", # toexclude/ | ||||
] | ] | ||||
to_exclude_swhid = "swh:1:dir:07d4d9ec5c406632d203dbd4631e7863612a0326" | to_exclude_swhid = "swh:1:dir:07d4d9ec5c406632d203dbd4631e7863612a0326" |