Skip to content

Commit

Permalink
vary the pk
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismeyersfsu committed Aug 9, 2018
1 parent 40d6c76 commit 5bfe9bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awx/main/tests/unit/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ def test_net_first_ssh_key_unlock_wins(self):
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)}
)
Expand All @@ -816,7 +816,7 @@ def test_prefer_ssh_over_net_ssh_key_unlock(self):

ssh = CredentialType.defaults['ssh']()
ssh_credential = Credential(
pk=1,
pk=2,
credential_type=ssh,
inputs = {'ssh_key_unlock': 'ssh_secret'}
)
Expand Down

0 comments on commit 5bfe9bf

Please sign in to comment.