1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 05:25:29 +03:00
awx/awxkit/test
Rigel Di Scala 579604d2c6 Allow YAML as a CLI import format
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.
2020-08-10 23:43:53 +02:00
..
cli Allow YAML as a CLI import format 2020-08-10 23:43:53 +02:00
__init__.py import awxkit 2019-08-08 22:12:31 -04:00
pytest.ini import awxkit 2019-08-08 22:12:31 -04:00
test_credentials.py remove python2 support from awxkit 2020-03-19 09:02:39 -04:00
test_dependency_resolver.py simplify awxkit dependencies 2019-08-12 17:27:57 -04:00
test_registry.py import awxkit 2019-08-08 22:12:31 -04:00
test_utils.py remove python2 support from awxkit 2020-03-19 09:02:39 -04:00
test_ws.py remove python2 support from awxkit 2020-03-19 09:02:39 -04:00