mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 00:43:20 +01:00
integration: validate requirements.txt is picked up and parsed
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
50eae46d37
commit
74d87254ed
@ -67,6 +67,14 @@ var cases = []struct {
|
|||||||
"requests": "2.22.0",
|
"requests": "2.22.0",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "find python packages",
|
||||||
|
pkgType: pkg.PythonRequirementsPkg,
|
||||||
|
pkgLanguage: pkg.Python,
|
||||||
|
pkgInfo: map[string]string{
|
||||||
|
"flask": "4.0.0",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "find bundler packages",
|
name: "find bundler packages",
|
||||||
pkgType: pkg.BundlerPkg,
|
pkgType: pkg.BundlerPkg,
|
||||||
|
|||||||
@ -0,0 +1,3 @@
|
|||||||
|
flask==4.0.0
|
||||||
|
# this is an ignored line
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user