summaryrefslogtreecommitdiff
path: root/test/units/module_utils/basic/test_atomic_move.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "stricter permissions on atomic_move when creating new file (#68970)"revert-68970-safer_default_permsBrian Coca2020-04-161-8/+9
| | | | This reverts commit 566f2467f6ca6e0e817ea793ef802116ad469858.
* stricter permissions on atomic_move when creating new file (#68970)Brian Coca2020-04-161-9/+8
| | | | | fixes #67794 updated some tests that expected previous defaults CVE-2020-1736
* Update units to pass on macOS (#60435)Matt Martz2019-08-121-1/+5
| | | | | | * Update units to pass on macOS. Fixes #27810 * raising=False
* Move _handle_aliases() out of basic.py (#48578)Sam Doran2019-02-281-0/+1
| | | | | | | | | Refinements: - return legal_inputs and update class properties - remove redundant arguments from method and handle in caller - add better exception types to method * Add unit tests for handle_aliases
* Bugfix/ fix mocker patch in tests (#52372)Sviatoslav Sydorenko2019-02-151-1/+1
| | | | | | | | * 🐛 Fix invalid os.stat mock in tests * 🐛 Fix leaking mock patch in tests Closes #52347
* Split basic units (#33510)Toshio Kuratomi2017-12-181-0/+217
Split the one monolithic test for basic.py into several files * Split test_basic.py along categories. This is preliminary to get a handle on things. Eventually we may want to further split it so each file is only testing a single function. * Cleanup unused imports from splitting test_basic.py * Port atomic_move test to pytest. Working on getting rid of need to maintain procenv * Split a test of symbolic_mode_to_octal to follow unittest best practices Each test should only invoke the function under test once * Port test_argument_spec to pytest. * Fix suboptions failure