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)
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)