mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Updated test to account for additional flag
This commit is contained in:
parent
22bf8b1f00
commit
873ca1e0b1
@ -37,7 +37,7 @@ class MdadmTestCase(TestCase):
|
||||
)
|
||||
self.assertEqual('salt', ret)
|
||||
mock.assert_called_once_with(
|
||||
'mdadm -C /dev/md0 -v --chunk=256 --force -l 5 -n 3 '
|
||||
'mdadm -C /dev/md0 -v --chunk=256 --force -l 5 -e default -n 3 '
|
||||
'/dev/sdb1 /dev/sdc1 /dev/sdd1'
|
||||
)
|
||||
|
||||
@ -53,7 +53,7 @@ class MdadmTestCase(TestCase):
|
||||
chunk=256,
|
||||
test_mode=True
|
||||
)
|
||||
self.assertEqual('mdadm -C /dev/md0 -v --chunk=256 --force -l 5 -n 3 '
|
||||
self.assertEqual('mdadm -C /dev/md0 -v --chunk=256 --force -l 5 -e default -n 3 '
|
||||
'/dev/sdb1 /dev/sdc1 /dev/sdd1', ret)
|
||||
assert not mock.called, 'test mode failed, cmd.run called'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user