mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
vary the pk
This commit is contained in:
parent
40d6c763b3
commit
5bfe9bf228
@ -792,7 +792,7 @@ class TestJobCredentials(TestJobExecution):
|
||||
for i in range(3):
|
||||
net = CredentialType.defaults['net']()
|
||||
credential = Credential(
|
||||
pk=1,
|
||||
pk=i,
|
||||
credential_type=net,
|
||||
inputs = {'ssh_key_unlock': 'secret{}'.format(i)}
|
||||
)
|
||||
@ -816,7 +816,7 @@ class TestJobCredentials(TestJobExecution):
|
||||
|
||||
ssh = CredentialType.defaults['ssh']()
|
||||
ssh_credential = Credential(
|
||||
pk=1,
|
||||
pk=2,
|
||||
credential_type=ssh,
|
||||
inputs = {'ssh_key_unlock': 'ssh_secret'}
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user