Skip to content

Commit

Permalink
python: port Matcher test to harness
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <[email protected]>
  • Loading branch information
hdonnay committed Sep 5, 2024
1 parent da9a4a0 commit 70a5e30
Show file tree
Hide file tree
Showing 4 changed files with 498 additions and 263 deletions.
94 changes: 0 additions & 94 deletions python/matcher_integration_test.go

This file was deleted.

3 changes: 3 additions & 0 deletions python/matcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/quay/claircore"
"github.com/quay/claircore/libvuln/driver"
"github.com/quay/claircore/python"
"github.com/quay/claircore/test"
)

type matcherTestcase struct {
Expand Down Expand Up @@ -246,4 +247,6 @@ func TestMatcher(t *testing.T) {
}
})
}

test.RunMatcherTests(zlog.Test(context.Background(), t), t, "testdata/matcher", new(python.Matcher))
}
169 changes: 0 additions & 169 deletions python/testdata/indexreport-rhel8-data.json

This file was deleted.

Loading

0 comments on commit 70a5e30

Please sign in to comment.