Commit Graph

27 Commits (4e69d83fac2efff3ac8f2fbc8a1e8a9728edc57e)

Author SHA1 Message Date
Abhijeet Kasurde d16ad25e4b
Remove extraneous pylint ignore (#83257)
2 years ago
Matt Clay 9295bb5b5d
Unit test cleanup (#81958)
2 years ago
Matt Clay 9f899f9492
Require `from __future__ import annotations` (#81902)
2 years ago
Matt Clay d4413dac08 Fix unit tests on Python 3.10.
5 years ago
Matt Martz 17237c1d88
Deprecate Py2.6 support for target nodes (#74165)
5 years ago
jabdr 0690b68bd3
Support datetime.date object in module result (#70595)
6 years ago
Matt Clay 98a0995fd0 Clean up unit test boilerplate.
6 years ago
Toshio Kuratomi 184f540056 Add some more unittests for fail_json
6 years ago
Toshio Kuratomi 6531ba38f8 Allow the msg argument to fail_json() to be a positional argument
6 years ago
Toshio Kuratomi 370a7ace4b
Split basic units (#33510)
8 years ago
Toshio Kuratomi cd36164239
Porting tests to pytest (#33387)
8 years ago
Brian Coca 2a041d10d2 better backwards compat handling of status
9 years ago
Dag Wieers 0e160d5c7e Ensure exit_json returns failed = False
9 years ago
Dag Wieers 4efec414e7 test/: PEP8 compliancy (#24803)
9 years ago
Matt Clay 10d9318de7 PEP 8 indent cleanup. (#20800)
9 years ago
Toshio Kuratomi 44d979c8f5 Enable most unittests on python3 (just some vault unittests and a logging one left) (#17240)
10 years ago
Toshio Kuratomi 186337db28 Ship constants to the modules via internal module params rather than a secondary dict.
10 years ago
Toshio Kuratomi c730af5dc2 Remove reload from arg related tests. Changes to how ziploader passes args mean we don't need reload anymore. (#15782)
10 years ago
Toshio Kuratomi 44e21f7062 Allow AnsibleModules to be instantiated more than once in a module
10 years ago
nitzmahone 5b336832af add _load_params debug overrides for module args/file passed on cmdline
10 years ago
Toshio Kuratomi 75546678d9 Fix unittests
10 years ago
Toshio Kuratomi 4b0aa1214c Ziploader
10 years ago
Toshio Kuratomi b70bf3b056 Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3
10 years ago
Brian Coca d89d7951e6 fixed tests to follow new invocation structure
10 years ago
Toshio Kuratomi e2d9f4e2f2 Fix unittests for return of invocation from fail_json and exit_json
10 years ago
Toshio Kuratomi 5a0e63af1e Workaround seeming bug in python-2.6's sys.exit()
11 years ago
Toshio Kuratomi 6e5055e786 Update the use of no_log values to cover everything that heuristic_log_sanitize does.
11 years ago