mirror of
https://github.com/ansible/awx.git
synced 2026-03-28 22:35:08 -02:30
vary the pk
This commit is contained in:
@@ -792,7 +792,7 @@ class TestJobCredentials(TestJobExecution):
|
|||||||
for i in range(3):
|
for i in range(3):
|
||||||
net = CredentialType.defaults['net']()
|
net = CredentialType.defaults['net']()
|
||||||
credential = Credential(
|
credential = Credential(
|
||||||
pk=1,
|
pk=i,
|
||||||
credential_type=net,
|
credential_type=net,
|
||||||
inputs = {'ssh_key_unlock': 'secret{}'.format(i)}
|
inputs = {'ssh_key_unlock': 'secret{}'.format(i)}
|
||||||
)
|
)
|
||||||
@@ -816,7 +816,7 @@ class TestJobCredentials(TestJobExecution):
|
|||||||
|
|
||||||
ssh = CredentialType.defaults['ssh']()
|
ssh = CredentialType.defaults['ssh']()
|
||||||
ssh_credential = Credential(
|
ssh_credential = Credential(
|
||||||
pk=1,
|
pk=2,
|
||||||
credential_type=ssh,
|
credential_type=ssh,
|
||||||
inputs = {'ssh_key_unlock': 'ssh_secret'}
|
inputs = {'ssh_key_unlock': 'ssh_secret'}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user