예제 #1
0
 def test__validate_good(self, mock_get_volume):
     info = seamicro._parse_driver_info(self.node)
     volume = self.Volume()
     mock_get_volume.return_value = volume
     valid = seamicro._validate_volume(info, volume.id)
     self.assertEqual(valid, True)
예제 #2
0
 def test__validate_good(self, mock_get_volume):
     volume = self.Volume()
     mock_get_volume.return_value = volume
     valid = seamicro._validate_volume(self.info, volume.id)
     self.assertEqual(valid, True)
예제 #3
0
 def test__validate_good(self, mock_get_volume):
     info = seamicro._parse_driver_info(self.node)
     volume = self.Volume()
     mock_get_volume.return_value = volume
     valid = seamicro._validate_volume(info, volume.id)
     self.assertEqual(valid, True)
예제 #4
0
 def test__validate_good(self, mock_get_volume):
     volume = self.Volume()
     mock_get_volume.return_value = volume
     valid = seamicro._validate_volume(self.info, volume.id)
     self.assertEqual(valid, True)