@@ -62,6 +62,7 @@ def test_collect_vms():
62
62
'datastores' : True ,
63
63
'hosts' : True ,
64
64
'snapshots' : True ,
65
+ 'volumes' : False ,
65
66
}
66
67
67
68
# Test runtime.host not found
@@ -362,6 +363,7 @@ def test_metrics_without_hostaccess():
362
363
'datastores' : False ,
363
364
'hosts' : False ,
364
365
'snapshots' : False ,
366
+ 'volumes' : False ,
365
367
}
366
368
367
369
collector = VmwareCollector (
@@ -510,6 +512,7 @@ def test_collect_vm_perf():
510
512
'datastores' : True ,
511
513
'hosts' : True ,
512
514
'snapshots' : True ,
515
+ 'volumes' : False ,
513
516
}
514
517
collector = VmwareCollector (
515
518
'127.0.0.1' ,
@@ -630,6 +633,7 @@ def test_collect_hosts():
630
633
'datastores' : True ,
631
634
'hosts' : True ,
632
635
'snapshots' : True ,
636
+ 'volumes' : False ,
633
637
}
634
638
collector = VmwareCollector (
635
639
'127.0.0.1' ,
@@ -991,6 +995,7 @@ def test_collect_host_perf():
991
995
'datastores' : False ,
992
996
'hosts' : True ,
993
997
'snapshots' : False ,
998
+ 'volumes' : False ,
994
999
}
995
1000
collector = VmwareCollector (
996
1001
'127.0.0.1' ,
@@ -1105,6 +1110,7 @@ def test_collect_datastore():
1105
1110
'datastores' : True ,
1106
1111
'hosts' : True ,
1107
1112
'snapshots' : True ,
1113
+ 'volumes' : False ,
1108
1114
}
1109
1115
collector = VmwareCollector (
1110
1116
'127.0.0.1' ,
@@ -1206,6 +1212,7 @@ def test_collect():
1206
1212
'datastores' : True ,
1207
1213
'hosts' : True ,
1208
1214
'snapshots' : True ,
1215
+ 'volumes' : False ,
1209
1216
}
1210
1217
collector = VmwareCollector (
1211
1218
'127.0.0.1' ,
@@ -1242,6 +1249,7 @@ def test_collect_deferred_error_works():
1242
1249
'datastores' : True ,
1243
1250
'hosts' : True ,
1244
1251
'snapshots' : True ,
1252
+ 'volumes' : False ,
1245
1253
}
1246
1254
collector = VmwareCollector (
1247
1255
'127.0.0.1' ,
@@ -1344,6 +1352,7 @@ def test_vmware_get_inventory():
1344
1352
'datastores' : True ,
1345
1353
'hosts' : True ,
1346
1354
'snapshots' : True ,
1355
+ 'volumes' : False ,
1347
1356
}
1348
1357
collector = VmwareCollector (
1349
1358
'127.0.0.1' ,
@@ -1388,6 +1397,7 @@ def test_vmware_connect():
1388
1397
'datastores' : True ,
1389
1398
'hosts' : True ,
1390
1399
'snapshots' : True ,
1400
+ 'volumes' : False ,
1391
1401
}
1392
1402
collector = VmwareCollector (
1393
1403
'127.0.0.1' ,
@@ -1416,6 +1426,7 @@ def test_vmware_disconnect():
1416
1426
'datastores' : True ,
1417
1427
'hosts' : True ,
1418
1428
'snapshots' : True ,
1429
+ 'volumes' : False ,
1419
1430
}
1420
1431
collector = VmwareCollector (
1421
1432
'127.0.0.1' ,
@@ -1451,6 +1462,7 @@ def test_counter_ids():
1451
1462
'datastores' : True ,
1452
1463
'hosts' : True ,
1453
1464
'snapshots' : True ,
1465
+ 'volumes' : False ,
1454
1466
}
1455
1467
collector = VmwareCollector (
1456
1468
'127.0.0.1' ,
@@ -1607,6 +1619,7 @@ def test_vmware_resource_async_render_GET_section():
1607
1619
'snapshots' : True ,
1608
1620
'vmguests' : True ,
1609
1621
'vms' : True ,
1622
+ 'volumes' : False ,
1610
1623
}
1611
1624
},
1612
1625
'mysection' : {
@@ -1624,6 +1637,7 @@ def test_vmware_resource_async_render_GET_section():
1624
1637
'snapshots' : True ,
1625
1638
'vmguests' : True ,
1626
1639
'vms' : True ,
1640
+ 'volumes' : False ,
1627
1641
}
1628
1642
}
1629
1643
}
@@ -1686,6 +1700,7 @@ def test_config_env_multiple_sections():
1686
1700
'snapshots' : True ,
1687
1701
'vmguests' : True ,
1688
1702
'vms' : True ,
1703
+ 'volumes' : False ,
1689
1704
}
1690
1705
},
1691
1706
'mysection' : {
@@ -1703,6 +1718,7 @@ def test_config_env_multiple_sections():
1703
1718
'snapshots' : True ,
1704
1719
'vmguests' : True ,
1705
1720
'vms' : True ,
1721
+ 'volumes' : False ,
1706
1722
}
1707
1723
}
1708
1724
}
0 commit comments