mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
Add support for multi-file injection in custom creds
This commit is contained in:
@@ -109,6 +109,8 @@ def test_cred_type_input_schema_validity(input_, valid):
|
||||
({'file': 123}, False),
|
||||
({'file': {}}, False),
|
||||
({'file': {'template': '{{username}}'}}, True),
|
||||
({'file': {'template.username': '{{username}}'}}, True),
|
||||
({'file': {'template.username': '{{username}}', 'template.password': '{{pass}}'}}, True),
|
||||
({'file': {'foo': 'bar'}}, False),
|
||||
({'env': 123}, False),
|
||||
({'env': {}}, True),
|
||||
|
||||
Reference in New Issue
Block a user