summaryrefslogtreecommitdiffstats
path: root/awxkit/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Ability to user awxkit with websocket custom urlsCésar Francisco San Nicolás Martínez2024-02-201-0/+5
|
* Update to comply with new black rulesAlan Rominger2023-02-012-19/+0
|
* add credential file supportsezanzeb2021-09-121-0/+57
| | | | Signed-off-by: sezanzeb <proxima@sezanzeb.de>
* Run flake8 on awxkitAlan Rominger2021-06-295-14/+1
|
* Rename managed_by_tower to managedChristian M. Adams2021-06-221-2/+2
|
* Removed references to tower in InventorySource and CredentialsAmol Gautam2021-06-221-3/+3
| | | | | | | | | --- Removed reference to tower in InventorySource and InventoryUpdate model --- Added a migration for above change --- Added new CONTROLLER* variables in awx/main/models/credentials/__init__.py --- Migrated awxkit to new CONTROLLER* variables --- Updated the tests to use new CONTROLLER* variables --- Fix some issues with upgrade path, rename more cases
* Use built-in suppress from contextlibJake McDermott2021-04-121-26/+0
| | | | | | In python3, we can use the built-in suppress from contextlib https://docs.python.org/3/library/contextlib.html#contextlib.suppress
* move code linting to a stricter pep8-esque auto-formatting tool, blackRyan Petrello2021-03-239-323/+286
|
* Add `name` to StringIO object to fix failing testAggelos Kolaitis2020-09-131-0/+1
|
* Allow YAML as a CLI import formatRigel Di Scala2020-08-101-0/+26
| | | | | | | | | | | | | | | This changset allows the import of YAML formatted resources. The CLI user can indicate which format to use with the `-f, --format` option. The CLI help text has been amended to reflect the new feature. The AWX CLI `export` subcommand offers the option of formatting the output as YAML or JSON, so it makes sense that the `import` subcommand reflects this. A simple test is also provided. In order to ease the task of testing commands that import resources by reading the stdin, the CLI has been extended to allow specifying an alternative file descriptor for stdin, similarly to stdout and stderr.
* remove python2 support from awxkitRyan Petrello2020-03-194-18/+5
|
* properly parse CLI arguments for launch endpointsRyan Petrello2019-10-301-3/+3
| | | | see: https://github.com/ansible/awx/issues/5093
* cli: make "detail" actions actually respect Allow: headersRyan Petrello2019-09-101-0/+6
|
* cli: add support for granting and revoking roles from users/teamsRyan Petrello2019-09-091-1/+1
|
* cli: add ability to specify a name instead of primary keyRyan Petrello2019-09-031-10/+11
|
* fix a formatting bug re: required arguments in the CLIRyan Petrello2019-08-221-21/+1
|
* support the new CLI in py2 *and* py3Ryan Petrello2019-08-205-7/+35
|
* Remove this dependency that we don't needElijah DeLee2019-08-151-64/+0
|
* simplify awxkit dependenciesRyan Petrello2019-08-121-1/+1
| | | | | | | | | | | | | | | | | - remove flake8 as an install requirements (it's only used for tests) - vendor toposort, which is Apache 2.0 licensed (and very small) - change websocket-client to a setuptools optional dependency, which you can install via: pip install "./awxkit[websockets]" - add `jq` and `tabulate` under an additional optional setuptools dependency: pip install "./awxkit[formatting]" - remove `cryptography`, which is only used for random RSA generation (unused by the CLI)
* import awxkitRyan Petrello2019-08-0912-0/+1884
Co-authored-by: Christopher Wang <cwang@ansible.com> Co-authored-by: Jake McDermott <jmcdermott@ansible.com> Co-authored-by: Jim Ladd <jladd@redhat.com> Co-authored-by: Elijah DeLee <kdelee@redhat.com> Co-authored-by: Alan Rominger <arominge@redhat.com> Co-authored-by: Yanis Guenane <yanis@guenane.org>