Do not fail TestGetNetworkInformation if no networks are defined
This commit is contained in:
parent
0b9457e2a7
commit
2d68f5d5f7
|
@ -68,7 +68,4 @@ func TestGetNetworkInformation(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Got error requesting network list %s", err)
|
t.Errorf("Got error requesting network list %s", err)
|
||||||
}
|
}
|
||||||
if len(n) == 0 {
|
|
||||||
t.Errorf("No networks defined")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue