summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix hard-coded interpreter in test_async_wrapper (#80816)Matt Clay2023-05-161-2/+2
|
* Use subset checks for some collection loader tests (#80812)Matt Clay2023-05-161-2/+3
|
* config lookup, new option to show origin of value (#80651)Brian Coca2023-05-111-0/+2
|
* ansible-test - Add RHEL 9.2 support (#80755)Martin Krizek2023-05-111-0/+1
|
* ansible-test - Fix handling of long timeouts (#80769)Matt Clay2023-05-101-1/+1
|
* ansible-test - Fix timeout handling (#80764)Matt Clay2023-05-106-36/+78
|
* ansible-test - Avoid use of deprecated utcnow (#80750)Matt Clay2023-05-105-11/+9
| | | The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.
* fix error if path had wildcard in it (#74723)PRASOON KARUNAN V2023-05-101-0/+15
| | | | | | | * fix error if path had wildcard in it * add test * add changelog fragment
* Remove unnecessary test case in vault editor (#80741)Abhijeet Kasurde2023-05-091-14/+2
| | | | | | | | * Remove test_real_path_symlink test case * Check if we do not get `-` return when some value other `-` is passed Fixes: #80444 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* ansible-test - Update the NIOS test container (#80739)Matt Clay2023-05-081-1/+1
|
* first_found fix no terms option (#76550)Brian Coca2023-05-081-0/+8
| | | | | also fix bug with multiple items clobbering previous settings Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
* docsite build: upgrade sphinx-ansible-theme and antsibull-core (#80734)Felix Fontein2023-05-081-2/+2
|
* ansible-test - Always use unique container names (#80724)Matt Clay2023-05-0410-120/+62
|
* Account for overlays when interacting with Jinja envs (#80705)Martin Krizek2023-05-043-0/+24
| | | | | | | | Instead of using Templar.environment in Templar.do_template for accessing/mutating the environment, myenv local variable should be used because it is the environment used for actual templating. It can either point to Templar.environment or newly created environment overlay. Fixes #80605
* Add FreeBSD 13.2 to ansible-test (#80698)Brian Coca2023-05-031-0/+1
|
* Use ansible.module_utils.common.text.converters (#80704)Matt Clay2023-05-0381-80/+101
| | | Replace use of old `ansible.module_utils._text` and add a unit test to maintain backwards compatibility.
* Fix os.walk issues in package-data sanity test (#80703)Matt Clay2023-05-022-32/+8
|
* Improve coverage of role unit tests (#80695)Matt Clay2023-05-022-27/+16
|
* Better parse virtualenv_command option for pip (#80624)Dmitriy Rabotyagov2023-05-021-0/+22
| | | | | | | | | | Atthe moment if a users wants to protect virtualenv_command by using quotes around 'venv', module will fail out as literal parsing is used at the moment. In order to imrpove things, argparse is leveraged to parse out passed value to the virtualenv_command Closes-Bug: #76372 Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
* Fix docs-build test to not mutate source tree (#80689)Matt Clay2023-05-011-20/+47
|
* Improve unit test code coverage (#80683)Matt Clay2023-05-011-14/+3
|
* Use assertRaisesRegex in unit test (#80663)Matt Clay2023-04-271-3/+3
|
* _symbolic_mode_to_octal- fix raising ValueError for invalid symbolic modes ↵Sloane Hertel2023-04-272-0/+27
| | | | | | | (#80449) validate the full user and perm strings instead of just first character fixes unhelpful unarchive error for some invalid modes
* Remove deprecated FileLock class (#80438)Martin Krizek2023-04-271-1/+0
|
* ActionBase: remove deprecated _remote_checksum (#80440)Martin Krizek2023-04-271-1/+0
|
* Set the minimum setuptools to 45.2.0 (#80649)Matt Clay2023-04-263-1/+4
| | | Also update the package-data sanity test to use the minimum setuptools version.
* Add TTY check and argument to disable it (#50603) (#68260)Landson Guo2023-04-271-0/+21
| | | | | | | | | | | | | | | | | | | | | | | * Add TTY check and argument to disable it (#50603) * Fix formatting * add changelog * rename flag and updated help description * add tests for tty check * replace deprecated uses of assertRaisesRegexp to assertRaisesRegex * fix yaml syntax * shorten line 79 * Revert "replace deprecated uses of assertRaisesRegexp to assertRaisesRegex" This reverts commit cea5fe16554ab5f4aa960f9a21fcbb09c8b8dc8f. * change back to assertRaisesRegexp
* Fix gather parallel (#80597)Brian Coca2023-04-266-0/+63
| | | | | | | | * fix meaning of parallel in gather_facts * Update docs with note about parallel not always being faster * add 'smarter' usage of gahter_timeout for parallel tasks * restore async when needed, not always * added typing * parallelism tests
* Templar: remove deprecated shared_loader_obj param (#80439)Martin Krizek2023-04-261-1/+0
|
* ansible-test - Update the default containers (#80635)Matt Clay2023-04-251-2/+2
|
* ansible-test - Update pylint to 2.17.3 (#80632)Matt Clay2023-04-251-3/+3
|
* PlayIterator: remove deprecated methods (#80437)Martin Krizek2023-04-251-1/+0
|
* ansible-test - Use FreeBSD packaged setuptools (#80615)Matt Clay2023-04-241-0/+1
| | | This will avoid issues during bootstrapping caused by breaking changes in setuptools.
* Fix calling v2_playbook_on_notify callback (#80585)Martin Krizek2023-04-248-1/+163
| | | Co-authored-by: Matt Martz <matt@sivel.net>
* tests: replace a mock import with unittest.mock (#80589)Maxwell G2023-04-211-1/+1
|
* Use target of /usr/bin/dnf for dnf version detection (#80550)Martin Krizek2023-04-211-0/+63
| | | Fixes #80376
* ansible-test - Remove deprecated features (#80558)Matt Clay2023-04-189-236/+11
|
* ansible-test - Update default containers (#80559)Matt Clay2023-04-181-2/+2
|
* ansible-test - Update pylint to 2.17.2 (#80555)Matt Clay2023-04-181-2/+2
|
* argspec - fix validating type for required options that are None (#79677)Sloane Hertel2023-04-173-4/+136
| | | | | * Only bypass type validation for null parameters if the default is None. A default is mutually exclusive with required. * Prevent coercing None to str type. Fail the type check instead.
* ansible-galaxy - fix installing dir sources with a trailing path separator ↵Sloane Hertel2023-04-171-1/+1
| | | | | (#79110) * strip trailing path separator from type=dir sources
* ansible-test - Replace pytest-forked (#80525)Matt Clay2023-04-148-3/+201
| | | | | - Unit tests now report warnings generated during test runs. - Python 3.12 warnings about `os.fork` usage with threads (due to `pytest-xdist`) are suppressed. - Added integration tests to verify forked test behavior.
* feature: add support for symbolic links when passing "dir" (#80460)kloud-byun2023-04-141-0/+25
| | | * update the include_vars action plugin to always follow symbolic links when traversing directories
* Fix galaxy CLI unit test assertions (#80504)Matt Clay2023-04-121-2/+6
|
* Fix unit test asserts (#80500)Matt Clay2023-04-121-3/+3
|
* Fix unit tests returning values (#80499)Matt Clay2023-04-122-4/+5
|
* Fix unclosed files in unit tests (#80497)Matt Clay2023-04-125-41/+48
|
* Last handler defined runs, fix for roles (#79558)Martin Krizek2023-04-125-0/+32
| | | | | | | | | Fixes #73643 * clear_notification method and simplify ifs * Deduplicate code * Limit number of Templar creations * Fix sanity * Preserve handler callbacks order as they were notified
* ansible-test - Add support for argcomplete 3 (#80482)Matt Clay2023-04-112-5/+23
|
* Expand pylint deprecated plugin to catch ↵Matt Martz2023-04-112-3/+18
| | | | ansible.module_utils.common.warnings uses (#80462)