mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
But only fix it in the correct place...
This commit is contained in:
parent
e4856b6fc7
commit
670538c9cd
@ -189,7 +189,7 @@ class LinuxLVMTestCase(TestCase):
|
||||
'Error: Please specify only one of size or extents')
|
||||
|
||||
self.assertEqual(linux_lvm.lvcreate(None, None, None, None),
|
||||
'Error: Please specify only one of size or extents')
|
||||
'Error: Either size or extents must be specified')
|
||||
|
||||
mock = MagicMock(return_value='A\nB')
|
||||
with patch.dict(linux_lvm.__salt__, {'cmd.run': mock}):
|
||||
|
Loading…
Reference in New Issue
Block a user