Abhijeet Kasurde
53ceb74e84
Use open with context manager ( #83337 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 month ago
Matt Clay
a0495fc314
Update triple single quotes to triple double quotes ( #84099 )
...
* Update triple single quotes to triple double quotes
This change was fully automated.
The updated Python files have been verified to tokenize the same as the originals, except for the expected change in quoting of strings, which were verified through literal_eval.
* Manual conversion of docstring quotes
2 months ago
Lee Garrett
7e3916b767
Typo fixes and other bits and bobs ( #83672 )
...
Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
4 months ago
carrychair
8b0f2ad9c5
remove repetitive words ( #82799 )
...
Signed-off-by: carrychair <linghuchong404@gmail.com>
9 months ago
Matt Clay
9f899f9492
Require `from __future__ import annotations` ( #81902 )
1 year ago
Jordan Borean
f3976117fb
PowerShell - remove uneeded dotnet code for future compatibility ( #81472 )
1 year ago
Sloane Hertel
4c41562270
remove deprecated datetime.datetime methods ( #81323 )
...
* Remove datetime.datetime.utcfromtimestamp and datetime.datetime.uctnow
from controller code since they are deprecated in Python 3.12.
* Update target side code to use new utcfromtimestamp and utcnow utils in ansible.module_utils.compat.datetime that return aware datetime objects on Python 2.7 and 3.
Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
Abhijeet Kasurde
9f4dfff69b
Pylint fixes ( #80855 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Abhijeet Kasurde
c9f76f6d49
Remove unused import ( #80875 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Matt Clay
2cd1744be3
Use ansible.module_utils.common.text.converters ( #80704 )
...
Replace use of old `ansible.module_utils._text` and add a unit test to maintain backwards compatibility.
2 years ago
Jordan Borean
d16ec2455d
Add tests to cover win_reboot incidental paths ( #79856 )
...
* Add tests to cover win_reboot incidental paths
* Fix sanity issues
2 years ago
jbreitwe-rh
38cedc7f1a
Fixed incorrect spelling of the word overridden. ( #79620 )
2 years ago
Jordan Borean
9985b8a975
ansible-test pssa update and new rules ( #76256 )
3 years ago
Martin Krizek
63413dd483
Remove incidental_win_security_policy ( #75654 )
...
* Add an intentional test for diff.prepared
ci_complete
ci_coverage
* Remove incidental_win_security_policy
* Forgot to remove this
3 years ago
Matt Clay
b752d07163
Overhaul ansible-test container management.
...
This brings ansible-test closer to being able to support split controller/remote testing.
4 years ago
Matt Martz
5d811fc551
Remove incidental_win_psexec ( #71953 )
...
* Explicit coverage to remove incidental_win_psexec
* rc=1 failed
* ci_complete ci_coverage
* Test rc!=0 without failed and until
* ci_complete ci_coverage
* Remove incidental_win_psexec
* Reduce delay
* ci_complete ci_coverage
4 years ago
Matt Martz
e6e9840717
Remove incidentals without coverage ( #71788 )
...
* Remove incidental_lookup_hashi_vault
* Remove incidental_connection_chroot
* Remove incidental_selinux
* Remove incidental_win_hosts
4 years ago
Jordan Borean
f81f5da20e
Ansible.Basic added generic fragment merger for module options ( #69719 )
5 years ago
Jordan Borean
aaf575f0b2
Internally redirect win modules to collection name ( #68317 )
...
* Internally redirect win modules to collection name
* Added comment for how this should be fixed in a subsystem plugin
* add collection plugins for base tests
5 years ago
Matt Clay
2c7f8bf586
Fix ansible-test windows-integration module refs.
5 years ago
Matt Clay
4fb7e62003
Include more test support plugins. ( #68015 )
...
* Include more test support plugins.
Also add missing module_utils `__init__.py` files.
* Update sanity ignores.
5 years ago
Matt Clay
f735fd672a
Third batch of incidental integration tests. ( #67830 )
...
* Copy in incidental windows tests.
* Update incidental test aliases.
* Add support plugins.
* Update target references.
* Update sanity ignores.
* Update integration-aliases test.
* Add to CI.
5 years ago