mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Add name to StringIO object to fix failing test
This commit is contained in:
parent
9918b2581c
commit
b8cf644959
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user