Commit Graph

157 Commits (4e69d83fac2efff3ac8f2fbc8a1e8a9728edc57e)

Author SHA1 Message Date
Abhijeet Kasurde c6d5be5cac
test: update tests (#83686)
2 years ago
Lee Garrett 7e3916b767
Typo fixes and other bits and bobs (#83672)
2 years ago
Abhijeet Kasurde 6e8a7ed327
Revert warning message in setup/gather_facts (#83427)
2 years ago
Abhijeet Kasurde d16ad25e4b
Remove extraneous pylint ignore (#83257)
2 years ago
Abhijeet Kasurde b70248eb22
Warn if the binary is unavailable using get_bin_path (#83258)
2 years ago
Sloane Hertel 2bb09bfd12
atomic_move - fix preserving extended acls (#82818)
2 years ago
Abhijeet Kasurde dd44449b6e
Use of constant for 644 permission variable (#82762)
2 years ago
Sviatoslav Sydorenko (Святослав Сидоренко) a3e5546e43
🔥 Exterminate `__builtin__` import from tests (#82569)
2 years ago
Matt Clay dae4e2f07f
Remove unused/unreachable unit test code (#82160)
2 years ago
Matt Clay 0be33551d7
Remove unit tests dependent on systemd bindings (#82161)
2 years ago
Matt Clay 5b1b0ce762 Remove Python 2 compat (via six) from unit tests
2 years ago
Matt Clay 18e8401edd
Remove Python 2.x compat from unit tests (#82109)
2 years ago
Jordan Borean 22568305d6
Add ignore invalid options override for mod wrapper (#81899)
2 years ago
Matt Clay 9295bb5b5d
Unit test cleanup (#81958)
2 years ago
Sviatoslav Sydorenko d2ba76c117
Remove Python `< 3.5` `selectors` fallbacks (#81872)
2 years ago
Matt Clay 9f899f9492
Require `from __future__ import annotations` (#81902)
2 years ago
Matt Clay b94ee1cefd
Drop Python 2.7 and Python 3.6 support (#81866)
2 years ago
Matt Martz 553f51e728
Revert logic to use Popen.communicate (#80874)
3 years ago
Abhijeet Kasurde 923ede4f72
pep8: fix sanity for 3.12 (#81348)
3 years ago
Matt Clay 43c31c5dc2
Use isinstance in unit tests for type checks (#80906)
3 years ago
Abhijeet Kasurde 652ddc4078
Fix pylint disallowed-name errors (#80854)
3 years ago
Arne de Laat 070ce87440
Add test for symbolic to octal when others is omitted (#80822)
3 years ago
Matt Clay 2cd1744be3
Use ansible.module_utils.common.text.converters (#80704)
3 years ago
Matt Martz 2a795e5747
Manage basic.selinux completely, instead of mocking potentially missing module (#80448)
3 years ago
Matt Martz 6d1e355639
Only use the selectors code path when we are prompt matching (#79931)
3 years ago
Matt Clay 9d65e122ff
Fix detection of available hashlib algorithms (#79946)
3 years ago
Matt Clay 25d859f8fb
Clean up unused imports in unit tests (#79893)
3 years ago
Matt Martz 9acca5b3b9
Allow test to run on system with selinux enabled. Fixes #77564 (#79510)
3 years ago
Matt Clay 2595b42aca
Prefer unittest.mock over mock. (#77886)
4 years ago
Sam Doran 1b947eaf92
arg_spec - Return aliases in validation result and update aliases (#77576)
4 years ago
Matt Clay 1a5853d794
Remove obsolete units.compat.mock compat layer. (#77118)
4 years ago
Matt Clay 2cd6cdc6a7
Fix duplicate unit test function names. (#77115)
4 years ago
Martin Krizek 23f95300bd
Intentional tests (#76051)
4 years ago
Matt Martz 74f5367673
Ensure `heuristic_log_sanitize` returns correct data if no password found (#75570)
5 years ago
Matt Clay ce6d8a143c
Code cleanup to prepare for pylint update. (#75475)
5 years ago
Sam Doran 9a21e24778
get_distribution - Return distribution for all platforms (#71641)
5 years ago
Matt Martz 98138584b7
Don't mutate os.environ in AnsibleModule.run_command, make a copy, and pass to Popen (#74791)
5 years ago
Matt Clay d4413dac08 Fix unit tests on Python 3.10.
5 years ago
Logistic Bot 7099657dd7
Basic: don't call lstat when check_mode (#64279)
5 years ago
Matt Martz 17237c1d88
Deprecate Py2.6 support for target nodes (#74165)
5 years ago
Sam Doran abacf6a108
Use ArgumentSpecValidator in AnsibleModule (#73703)
5 years ago
Matt Davis 4c5ce5a1a9
module compat for py3.8+ controller (#73423)
5 years ago
Alexander Sowitzki e6da544310 Let `command` always return stdout & stderr (#73004)
5 years ago
Brian Coca 932ba36160
ensure unsafe writes fallback (#70722)
5 years ago
Pilou b464d18fd1
AnsibleModule.set_mode_if_different: handle symlink is in a sticky directory (#45198)
5 years ago
Alexei Znamensky 5654de6fce
Return error if cwd directory does not exist (#72390)
5 years ago
Rick Elrod 5cd489af06
Let get_file_attributes() work without `lsattr -v` (#71845)
6 years ago
Sam Doran 888be697cb
Revert "Change default file permissions so they are not world readable (#70221)" (#71231)
6 years ago
Abhijeet Kasurde e439194c8c
basic: Add name of aliases in error message (#69427)
6 years ago
Sam Doran 5260527c4a
Change default file permissions so they are not world readable (#70221)
6 years ago