mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
vary the pk
This commit is contained in:
parent
45f2fe7f90
commit
c7c9620f03
@ -785,7 +785,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)}
|
||||
)
|
||||
@ -809,7 +809,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