1
0

test: fix match image test

This commit is contained in:
dump_stack() 2023-05-13 11:17:11 +00:00
parent 1d22902eb0
commit 997d6a67ba
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -3,8 +3,6 @@ package debian
import ( import (
"testing" "testing"
"github.com/cavaliergopher/grab/v3"
"code.dumpstack.io/tools/out-of-tree/cache" "code.dumpstack.io/tools/out-of-tree/cache"
"code.dumpstack.io/tools/out-of-tree/config" "code.dumpstack.io/tools/out-of-tree/config"
) )
@ -18,11 +16,6 @@ func TestMatchImagePkg(t *testing.T) {
DistroRelease: "7", DistroRelease: "7",
} }
resp, err := grab.Get(tmp, fileurl)
if err != nil {
t.Fatal(err)
}
pkgs, err := MatchImagePkg(km) pkgs, err := MatchImagePkg(km)
if err != nil { if err != nil {
t.Fatal(err) t.Fatal(err)