diff options
author | Dave <dmz.oneill@gmail.com> | 2024-03-13 14:41:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 14:41:40 +0100 |
commit | 12843eccf7c5282e9ec5350ffc6884e82d40e62f (patch) | |
tree | 150c8dab4037d5658706e61dd6860be13507a5db /awxkit | |
parent | Prune dangle image periodically (#14957) (diff) | |
download | awx-12843eccf7c5282e9ec5350ffc6884e82d40e62f.tar.xz awx-12843eccf7c5282e9ec5350ffc6884e82d40e62f.zip |
AAP-13369 Python 3.9 -> 3.11 upgrade (#14771)
* Python 3.9 -> 3.11 upgrade
* Test: updating azure-keyvault to 4.2.0
* Revert "Test: updating azure-keyvault to 4.2.0"
This reverts commit cf0b83699442e0c0de4a1152d4af8543a5e05b88.
* Test: updating azure-keyvault to latest and adding azure-identity
* Fix licenses
* Adding new licenses
* Revert "Fix licenses"
This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228.
* Fixing dependencies
* Test: updating azure-keyvault to 4.2.0
* Fix licenses
* Revert "Fix licenses"
This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228.
* Fixing dependencies
---------
Co-authored-by: César Francisco San Nicolás Martínez <csannico@redhat.com>
Diffstat (limited to 'awxkit')
-rw-r--r-- | awxkit/test/cli/test_options.py | 5 | ||||
-rw-r--r-- | awxkit/tox.ini | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/awxkit/test/cli/test_options.py b/awxkit/test/cli/test_options.py index 2950b8b88d..2830674712 100644 --- a/awxkit/test/cli/test_options.py +++ b/awxkit/test/cli/test_options.py @@ -175,9 +175,10 @@ class TestOptions(unittest.TestCase): assert '--verbosity {0,1,2,3,4,5}' in out.getvalue() def test_actions_with_primary_key(self): + page = OptionsPage.from_json({'actions': {'GET': {}, 'POST': {}}}) + ResourceOptionsParser(None, page, 'jobs', self.parser) + for method in ('get', 'modify', 'delete'): - page = OptionsPage.from_json({'actions': {'GET': {}, 'POST': {}}}) - ResourceOptionsParser(None, page, 'jobs', self.parser) assert method in self.parser.choices out = StringIO() diff --git a/awxkit/tox.ini b/awxkit/tox.ini index dc14051b7d..e5855d500e 100644 --- a/awxkit/tox.ini +++ b/awxkit/tox.ini @@ -8,7 +8,7 @@ skip_missing_interpreters = true # skipsdist = true [testenv] -basepython = python3.9 +basepython = python3.11 setenv = PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}:. deps = |