summaryrefslogtreecommitdiffstats
path: root/awxkit
diff options
context:
space:
mode:
authorAggelos Kolaitis <neoaggelos@gmail.com>2020-09-13 16:41:53 +0200
committerAggelos Kolaitis <neoaggelos@gmail.com>2020-09-13 16:41:53 +0200
commitb8cf644959d43911fd10d1cda6253df08341e78f (patch)
treefa4ea2b97cc6e2382021915c5024e8a17b179307 /awxkit
parentSupport `!import` and `!include` in `awx import -f yaml` command (diff)
downloadawx-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.py1
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()