Commit Graph

12 Commits

Author SHA1 Message Date
abednarik
c1be5a61fa modules.parted: __virtual__ return err msg.
Updated message when module is not supported based on systems or available binaries.
2015-12-29 16:55:48 -03:00
rallytime
138c4f1e72 Remove parted deprecations and fix failing tests 2015-07-08 09:03:55 -06:00
Kevin Boulain
e6c9cc9a83 fix tests for the parted module 2015-04-28 16:50:33 +02:00
Pedro Algarvio
60f215f191 Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00
rallytime
8211dc2f00 Patch unittests when calling _validate_device 2014-12-09 10:48:02 -07:00
Chris Rebert
802a631dd9 more typo/misspelling fixes 2014-11-05 15:29:25 -08:00
Roman Inflianskas
f5903dfe6d modules.parted: tests: fixed probe deprecation testing #2 2014-11-03 13:12:46 +03:00
Roman Inflianskas
d04abdf91a modules.parted: tests: fixed probe deprecation testing 2014-11-03 12:30:13 +03:00
Roman Inflianskas
70e4062cf9 Actually testing parted
called_once_with didn't work, changed to assert_called_once_with
2014-11-03 11:52:01 +03:00
Dave Rawks
9b761f378d More test coverage for salt.modules.parted
* Full coverage for "list_" method
2014-09-23 15:44:33 -07:00
Dave Rawks
a3707e2bab Simplify mock of cmd.run via setUp method
* reduced code duplication by handling a frequently used mock in setUp
method to testcase
2014-09-22 14:44:52 -07:00
Dave Rawks
6e6bf0e643 First pass at adding unit tests to salt.modules.parted
Full coverage for __virtual__, probe, and part_list
2014-09-22 11:16:37 -07:00