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.
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.
These tests have never run automatically because of an incorrect file name.
Added a skipIf on these tests as they are currently non-functioning and the
module they're testing has been deprecated.
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.
* Comment all lines in the minion config file
* Add unit tests to check for all files in conf/ to be commented out
* Make sure cont/cloud.profiles file is commented out
Matches the cloud.providers file format and other sample config files.
* Add unit tests for sample files in cloud.profiles.d, cloud.providers.d,
and cloud.maps.d
* Make sure all sample config files in cloud.maps.d are commented out
* Make sure all sample config files in cloud.profiles.d are commented out
* Revert "Don't use six.text_type() in salt.utils.gitfs"
This reverts commit d76659a63a.
* salt.utils.path_join: handle mixed unicode/binary-unicode paths
* Add test for mixed unicode and binary-unicode paths
* salt.utils.gitfs: replace os.path.join with salt.utils.path_join
Also load the __utils__ into pillar and fileserver and fileclient so
that this function can be used there with __opts__.
Also sets the default for s3 to 'us-east-1' like it is documented.
Closes#30976Closes#28913
* This test was doing all sorts of things, raging from simply failing
to driving CPUs to 100%, to leaking memory until the entire test suite crashes.
This seems to happen only in conjunction with running the entire unit test suite
and does not occur on its own
cc: @kraney
* Better method to skip test. This way we can track it.
Aadded --dry-run option which is also used for test mode
taking adventage of this option in rsync.
Update state documentation to follow Salt standards
Finally synchronized was not working, See #32478. Changes cmd.run to cmd.run_all make this works.
Tests updated
* Update docstring to reflect optional context argument
It used to not be optional.
* Update linux_sysctl tests to reflect new context key
This key was changed in 5b12f03, this updates the tests to reflect the
change.