Merge pull request #35259 from cachedout/fixup_35253

Fixup 35253
This commit is contained in:
Mike Place 2016-08-07 06:59:48 +09:00 committed by GitHub
commit 6eb1c48469
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,9 @@
===========================
Salt 2016.3.4 Release Notes
===========================
Version 2016.3.4 is a bugfix release for :doc:`2016.3.0
</topics/releases/2016.3.0>`.
- The `disk.wipe` execution module function has been modified
so that it correctly wipes a disk.

View file

@ -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
)