From 5bfe9bf228873f7909386ca295cc73ed60175419 Mon Sep 17 00:00:00 2001 From: chris meyers Date: Thu, 9 Aug 2018 15:44:59 -0400 Subject: [PATCH] vary the pk --- awx/main/tests/unit/test_tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/tests/unit/test_tasks.py b/awx/main/tests/unit/test_tasks.py index 2961ee6cfc..91e3c3505d 100644 --- a/awx/main/tests/unit/test_tasks.py +++ b/awx/main/tests/unit/test_tasks.py @@ -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'} )