vary the pk

This commit is contained in:
chris meyers
2018-08-09 15:44:59 -04:00
parent 40d6c763b3
commit 5bfe9bf228

View File

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