File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,24 @@ func (suite *CveIntegrationTestSuite) TestCve() {
2525 cp .Expect ("0b87e7a4-dc62-46fd-825b-9c35a53fe0a2" )
2626
2727 cp .Expect ("Vulnerabilities" )
28- cp .Expect ("CRITICAL " )
28+ cp .Expect ("critical " )
2929 cp .Expect ("Affected Packages" )
3030 cp .Expect ("tensorflow" )
31- cp .Expect ("CRITICAL " )
31+ cp .Expect ("critical " )
3232 cp .Expect ("CVE-2019-16778" )
3333 cp .ExpectExitCode (0 )
34+ }
35+
36+ func (suite * CveIntegrationTestSuite ) TestCveForCommit () {
37+ suite .T ().Skip ("Skipping because mediator migration left this feature out" ) // CP-1184
38+ suite .OnlyRunForTags (tagsuite .Cve )
39+
40+ ts := e2e .New (suite .T (), false )
41+ defer ts .Close ()
42+
43+ ts .LoginAsPersistentUser ()
3444
35- // make sure that we can select by commit id
36- cp = ts .Spawn ("cve" , "ActiveState-CLI/VulnerablePython-3.7#3b222e23-64b9-4ca1-93ee-7b8a75b18c30" )
45+ cp := ts .Spawn ("cve" , "ActiveState-CLI/VulnerablePython-3.7#3b222e23-64b9-4ca1-93ee-7b8a75b18c30" )
3746 cp .Expect ("Commit ID" )
3847 cp .Expect ("3b222e23-64b9-4ca1-93ee-7b8a75b18c30" )
3948
You can’t perform that action at this time.
0 commit comments