vary the pk

This commit is contained in:
chris meyers 2018-08-09 15:44:59 -04:00
parent 45f2fe7f90
commit c7c9620f03

View File

@ -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'}
)