mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix mock call in disk wipe test
This commit is contained in:
parent
4e7d7f8e4c
commit
6714e8f386
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class DiskTestCase(TestCase):
|
|||
with patch.dict(disk.__salt__, {'cmd.run_all': mock}):
|
||||
disk.wipe('/dev/sda')
|
||||
mock.assert_called_once_with(
|
||||
'wipefs /dev/sda',
|
||||
'wipefs -a /dev/sda',
|
||||
python_shell=False
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue