test: make portable fixtures optional and cover xigmanas
This commit is contained in:
@@ -12,6 +12,9 @@ import (
|
||||
func TestReanimatorExport_RedfishExampleDoesNotDuplicateCPUs(t *testing.T) {
|
||||
payload, err := os.ReadFile(filepath.Join("..", "..", "example", "2026-03-11 (SYS-821GE-TNHR) - A514359X5C08846.zip"))
|
||||
if err != nil {
|
||||
if os.IsNotExist(err) {
|
||||
t.Skip("optional example bundle is not present")
|
||||
}
|
||||
t.Fatalf("read example bundle: %v", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user