summaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* first_found lookup, let lookup handle templating errors (#81178)Brian Coca2023-07-113-0/+47
| | | | | | | | * first_found lookup, let lookup handle templating errors Avoids case in which TE was not sending valid and templatable entries to the lookup The lookup already handles the case TE was attempting to itself, so no need for this code anymore. Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
* Remove Python 3.9 support for the controller (#80973)Sloane Hertel2023-07-108-41/+11
| | | | | | | * Remove obsolete Python <=3.9 controller code * Remove Python 3.9 test controller bootstrapping * Update test requirements Co-authored-by: Matt Clay <matt@mystile.com>
* Properly disable modularity tests for dnf5 only (#81195)Martin Krizek2023-07-101-1/+1
|
* Re-introduce RHEL 9 modularity testing in CI (#81160)Martin Krizek2023-07-102-4/+2
|
* ansible-test - Remove old pytest-forked constraint (#81185)Matt Clay2023-07-071-1/+0
|
* ansible-test - Fix import sanity test for targets (#81184)Matt Clay2023-07-071-2/+8
|
* ansible-test - remove test remotes: rhel 8.7/9.1 (#81065)Martin Krizek2023-07-061-2/+0
| | | | Fixes #80419 Fixes #80420
* ansible-galaxy - add pre-release hint to dependency resolution error (#81147)Sloane Hertel2023-06-302-1/+4
| | | | | * add pre-release hint to dependency resolution error if --pre wasn't provided Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Simplify release name tracking and testing (#81151)Matt Clay2023-06-293-7/+3
| | | Convert the release names list from YAML to plain text, removing the need for YAML parsing in the sanity test.
* Remove unused unit test code (#81150)Matt Clay2023-06-294-112/+32
|
* user - add parameter for password expiration warning days (#79884)Norman Ziegner2023-06-282-0/+37
| | | | | * user - add parameter to set number of warning days before password expires Signed-off-by: Norman Ziegner <norman.ziegner@ufz.de>
* Remove unused strategy plugin unit tests (#81146)Matt Clay2023-06-281-491/+0
|
* dnf5: enable now implemented cacheonly functionality (#81141)Martin Krizek2023-06-281-1/+0
| | | | | Note that this also fixes a traceback caused by backwards incompatible change in dnf5 where cacheonly was changed from bool to string: https://github.com/rpm-software-management/dnf5/pull/665/files#diff-ab65249ff7fccadfb2864b6826f6559f7f16fad43fd3bf2da0b4fe8db790d59aR179
* Remove unreachable code in curses unit test (#81138)Matt Clay2023-06-281-11/+13
|
* More unit test code coverage improvements (#81136)Matt Clay2023-06-284-78/+29
|
* Inventory Script Plugin: raise execution error (#81104)Everson Leal2023-06-261-0/+8
| | | | | | | It adds exception treatment when execute a inventory based on script with the --host argument --------- Co-authored-by: Everson Leal <everson.leal@sonda.com>
* add coverage for Python 3.12 (#81125)Sloane Hertel2023-06-262-2/+2
|
* ansible-galaxy - add config option for the default ansible-galaxy timeout ↵Sloane Hertel2023-06-261-0/+50
| | | | | (#81108) allow configuring the default server timeout via env/ini
* ansible-test add alpine 3.18 as remote (#81109)Brian Coca2023-06-262-1/+4
| | | * add crun to avoid runc
* Remove long obsolete hacking/get_library.py (#81122)Matt Clay2023-06-241-1/+0
|
* Remove hacking/fix_test_syntax.py (#81121)Matt Clay2023-06-241-1/+0
| | | This script is no longer needed, since using tests as filters was removed in 2.9.
* Improve code coverage of unit tests (#81119)Matt Clay2023-06-2415-191/+31
| | | | | | - Remove unused code - Remove unnecessary code - Ignore coverage for unreachable code - Use previously unused code to increase coverage
* Fix arg splitting and key/value parsing (#80030)Matt Clay2023-06-231-4/+71
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve readability of unit test output This drops the trailing `-expectedXXX` suffixes from test names generated by parametrize. * Add more splitter unit tests This fills in code coverage gaps in the exising unit tests. * Bug fixes and code cleanup - Fix IndexError exceptions caused by parsing a leading newline, space or escaped space. - Fix an AttributeError exception in `parse_args` when parsing `None`. - Fix incorrect parsing of multi-line Jinja2 blocks, which resulted in doubling newlines. - Remove unreachable exception handlers in the `parse_kv` function. The unreachable code was verified through analysis of the code as well as use of the `atheris` fuzzer. - Remove unnecessary code in the `split_args` function. - Add an optimization to `split_args` for the empty args case. * Add unit tests for bug fixes The splitter code is now fully covered by unit tests. * Add another issue ref in changelog
* Deprecate plural collections_paths option (#81063)Jordan Borean2023-06-224-9/+9
| | | | | * Deprecate plural collections_paths option * Fix test assumption
* display, also proxy warnings and deprecations (#81060)Brian Coca2023-06-221-3/+15
| | | Use generic proxy for display methods with decorator
* ansible-test - Avoid using atexit module (#81096)Matt Clay2023-06-219-22/+64
|
* ansible-test: remove Ubuntu 20.04 LTS (#81070)Abhijeet Kasurde2023-06-201-1/+0
|
* ansible-test: Added Fedora 38 (#81074)Abhijeet Kasurde2023-06-202-0/+2
|
* Resolve issues on python pre-3.10.6 with collection dirs longer than 100 ↵Matt Martz2023-06-151-13/+2
| | | | characters (#81061)
* Pylint deprecated comment checker (#81071)Matt Martz2023-06-152-3/+164
| | | Co-authored-by: Matt Clay <matt@mystile.com>
* remove Freebsd 13.1 from test matrix (#81058)Brian Coca2023-06-151-1/+0
| | | | | | | | * remove Freebsd 13.1 from test matrix fixes #80416 Co-authored-by: Matt Clay <matt@mystile.com>
* Add test support for Python 3.11 on RHEL 8.8/9.2 (#80990)Martin Krizek2023-06-153-9/+54
| | | | Fixes #80412 Fixes #80413
* ansible-test - Update openSUSE containers (#81062)Abhijeet Kasurde2023-06-151-1/+1
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Remove Python 3.5 support (#80972)Sloane Hertel2023-06-157-25/+6
| | | | | | | | | | | | | | | | | | | * Remove Python 3.5 support * changelog * add requested changes * Update changelogs/fragments/remove-python3.5.yml Co-authored-by: Matt Clay <matt@mystile.com> * remove Python3 < 3.5 error handling * remove Python3 < 3.5 error handling in TE too --------- Co-authored-by: Matt Clay <matt@mystile.com>
* Register handlers immediately if currently iterating handlers (#80898)James Cammarata2023-06-142-0/+37
| | | | | | | | | This fixes the issue where handlers notifying other handlers are not properly run because the notification is not registered unless another flush_handlers occurs. Instead, if the current host state is iterating handlers we immediately register the handler to be run so the notification is not lost. Fixes #80880
* Don't mutate templar.environment, only overlay on local myenv (#81005)Matt Martz2023-06-134-29/+43
|
* Improved return docs (#81006)Abhijeet Kasurde2023-06-131-2/+0
| | | | | | * Improved the return docs for modules `sysvinit` and `systemd_service` Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* dnf5 - enable env groups testing in CI (#81032)Martin Krizek2023-06-131-1/+0
| | | Implemented in https://github.com/rpm-software-management/dnf5/pull/585
* Use *.md instead of *.rst for test READMEs (#81009)Matt Clay2023-06-096-3/+3
|
* Check if skeleton is /dev/null while creating home folder (#75948)Holger Dörner2023-06-071-0/+18
| | | | | | | | * Check if skeleton is /dev/null while creating home folder * Add test for linux Co-authored-by: Holger Dörner <h.doerner@bitexpert.de> Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
* Sanity Fixes: (#80953)Abhijeet Kasurde2023-06-074-11/+4
| | | | | | | | | | * Typo fixes * arguments-renamed * pep8:E501 * pylint:use-a-generator * pep8:E231 * use-argspec-type-path Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Update galaxy_ng container for tests (#80721)Matt Martz2023-06-0714-193/+246
|
* Clean up MANIFEST.in (#80688)Matt Clay2023-06-061-11/+0
| | | | | | | | | * Remove unnecessary MANIFEST.in commands This eliminates more setuptools warnings during build. * Sort MANIFEST.in Now that only include commands are used, the order of the commands no longer effects the build output.
* Fix remote_tmp tests so that they actually use the remote_tmp (#80969)Matt Martz2023-06-061-15/+28
| | | | | | | * Fix remote_tmp tests so that they actually use the remote_tmp * Isolate remote_tmp dir during remote_tmp tests. Fixes #80965 * Do everything without become
* replace deprecated ast.value.s with ast.value.value (#80968)Sloane Hertel2023-06-062-9/+9
| | | | | | | * replace deprecated ast.value.s with ast.value.value the s attribute is deprecated since Python 3.8 and emits a warning in 3.12 causing some test failures
* Handle unreachable errors in fetch properly. Fixes #27816 (#80952)Matt Martz2023-06-061-0/+10
|
* ansible-test - Use raise from to handle exceptions (#80905)Matt Clay2023-05-278-15/+14
|
* Use isinstance in unit tests for type checks (#80906)Matt Clay2023-05-272-2/+2
|
* Improve code coverage of unit tests (#80904)Matt Clay2023-05-276-164/+46
| | | | | | | | | | | | | | | | | | | * Improve coverage of validate-modules unit tests * Remove unused galaxy unit test code * Fix galaxy unit test teardown logic * Improve coverage of galaxy unit test code * Improve coverage of galaxy unit tests * Remove unused code in galaxy API tests * Remove unused galaxy collection unit test code * Improve coverage of galaxy collection unit tests * Remove unused galaxy unit test code
* ansible-test - local change detection without --fork-point (#79734)Felix Fontein2023-05-261-1/+1
|