Commit Graph

4 Commits

Author SHA1 Message Date
Eric Radman
bae492ad8f Fix tests that assert CommandExecutionError (#32485)
Trying to assert that an exception was raised using
helper_open.write.assertRaises() is bogus--there is no such method. Use
standard unittest.assertRaises() instead.
2016-04-12 08:41:25 -06:00
Roman Inflianskas
e299fc3ff2 Replace check_or_die functions to __virtual__ 2015-10-29 10:59:58 +03:00
Colton Myers
40a6ed45eb Fix puppet test to mock cmd.run_all with return value including retcode 2015-04-16 17:18:50 -06:00
Rahul Handay
78667caa68 Adding puppet.py unit test cases 2015-04-02 16:40:39 +05:30