예제 #1
0
 def test_missing_tags(self, monkeypatch):
     monkeypatch.setattr(lvm, 'getLV', fakeGetLV)
     sdName = "f9e55e18-67c4-4377-8e39-5833ca422bef"
     allVols = blockSD.getAllVolumes(sdName)
     assert len(allVols) == 1
예제 #2
0
 def test_volumes_count(self, monkeypatch):
     monkeypatch.setattr(lvm, 'getLV', fakeGetLV)
     sdName = "3386c6f2-926f-42c4-839c-38287fac8998"
     allVols = blockSD.getAllVolumes(sdName)
     assert len(allVols) == 23
예제 #3
0
 def test_missing_tags(self):
     sdName = "f9e55e18-67c4-4377-8e39-5833ca422bef"
     allVols = blockSD.getAllVolumes(sdName)
     self.assertEqual(len(allVols), 1)
예제 #4
0
 def test_volumes_count(self):
     sdName = "3386c6f2-926f-42c4-839c-38287fac8998"
     allVols = blockSD.getAllVolumes(sdName)
     self.assertEqual(len(allVols), 23)
예제 #5
0
파일: blocksd_test.py 프로젝트: oVirt/vdsm
 def test_missing_tags(self, monkeypatch):
     monkeypatch.setattr(lvm, 'getLV', fakeGetLV)
     sdName = "f9e55e18-67c4-4377-8e39-5833ca422bef"
     allVols = blockSD.getAllVolumes(sdName)
     assert len(allVols) == 1
예제 #6
0
파일: blocksd_test.py 프로젝트: oVirt/vdsm
 def test_volumes_count(self, monkeypatch):
     monkeypatch.setattr(lvm, 'getLV', fakeGetLV)
     sdName = "3386c6f2-926f-42c4-839c-38287fac8998"
     allVols = blockSD.getAllVolumes(sdName)
     assert len(allVols) == 23