diff options
author | Aggelos Kolaitis <neoaggelos@gmail.com> | 2020-09-13 16:41:53 +0200 |
---|---|---|
committer | Aggelos Kolaitis <neoaggelos@gmail.com> | 2020-09-13 16:41:53 +0200 |
commit | b8cf644959d43911fd10d1cda6253df08341e78f (patch) | |
tree | fa4ea2b97cc6e2382021915c5024e8a17b179307 /awxkit | |
parent | Support `!import` and `!include` in `awx import -f yaml` command (diff) | |
download | awx-b8cf644959d43911fd10d1cda6253df08341e78f.tar.xz awx-b8cf644959d43911fd10d1cda6253df08341e78f.zip |
Add `name` to StringIO object to fix failing test
Diffstat (limited to 'awxkit')
-rw-r--r-- | awxkit/test/cli/test_format.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/awxkit/test/cli/test_format.py b/awxkit/test/cli/test_format.py index 5ab6e55d6c..7327f91518 100644 --- a/awxkit/test/cli/test_format.py +++ b/awxkit/test/cli/test_format.py @@ -63,6 +63,7 @@ def test_yaml_import(): - name: Workflow1 """ ) + yaml_fd.name = 'file.yaml' cli = CLI(stdin=yaml_fd) cli.parse_args(['--conf.format', 'yaml']) cli.v2 = MockedV2() |