integration: validate requirements.txt is picked up and parsed

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza 2020-07-21 14:31:41 -04:00
parent 50eae46d37
commit 74d87254ed
2 changed files with 11 additions and 0 deletions

View File

@ -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,

View File

@ -0,0 +1,3 @@
flask==4.0.0
# this is an ignored line