Exemple #1
0
 def test_get_volumes_by_name(self):
     result = manager.get_logical_volumes_by_name(self.volumes, 'glance',
                                                  'image')
     self.assertEqual(len(list(result)), 1)
 def test_get_volumes_by_name(self):
     result = manager.get_logical_volumes_by_name(
         self.volumes, 'glance', 'image')
     self.assertEqual(len(list(result)), 1)