test: fix match image test
This commit is contained in:
		| @@ -3,8 +3,6 @@ package debian | ||||
| import ( | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/cavaliergopher/grab/v3" | ||||
|  | ||||
| 	"code.dumpstack.io/tools/out-of-tree/cache" | ||||
| 	"code.dumpstack.io/tools/out-of-tree/config" | ||||
| ) | ||||
| @@ -18,11 +16,6 @@ func TestMatchImagePkg(t *testing.T) { | ||||
| 		DistroRelease: "7", | ||||
| 	} | ||||
|  | ||||
| 	resp, err := grab.Get(tmp, fileurl) | ||||
| 	if err != nil { | ||||
| 		t.Fatal(err) | ||||
| 	} | ||||
|  | ||||
| 	pkgs, err := MatchImagePkg(km) | ||||
| 	if err != nil { | ||||
| 		t.Fatal(err) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user