(t *testing.T)
| 330 | } |
| 331 | |
| 332 | func TestStoragePoolRefreshIntegration(t *testing.T) { |
| 333 | l := NewWithDialer(testDialer(t)) |
| 334 | |
| 335 | if err := l.Connect(); err != nil { |
| 336 | t.Fatal(err) |
| 337 | } |
| 338 | defer l.Disconnect() |
| 339 | |
| 340 | pool, err := l.StoragePool("test") |
| 341 | if err != nil { |
| 342 | t.Error(err) |
| 343 | } |
| 344 | |
| 345 | err = l.StoragePoolRefresh(pool, 0) |
| 346 | if err != nil { |
| 347 | t.Error(err) |
| 348 | } |
| 349 | } |
| 350 | |
| 351 | func TestStoragePoolRefreshInvalidIntegration(t *testing.T) { |
| 352 | l := NewWithDialer(testDialer(t)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…