Fix unit tests
This commit is contained in:
parent
5ca71d7add
commit
99e72ead68
5 changed files with 10 additions and 10 deletions
|
|
@ -84,7 +84,7 @@ class TestVolumeID(unittest.TestCase):
|
|||
|
||||
def test_volume_id_substitutions(self):
|
||||
"""Check that volume ID is shorten corect by shortenVolID method."""
|
||||
for test_name, values in self.test_cases.iteritems():
|
||||
for test_name, values in self.test_cases.items():
|
||||
name = values['name']
|
||||
expected_vol_id = values['expected-id']
|
||||
result_vol_id = self.handler._shortenVolID(name, self.version, self.release)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue