Skip to content

Commit

Permalink
Remove accidental change from scm to test_credentials_relationship_ma…
Browse files Browse the repository at this point in the history
…pping
  • Loading branch information
djyasin committed Oct 10, 2024
1 parent 23b6ce1 commit f9a2f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awx/main/tests/functional/api/test_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def test_vault_credential_not_allowed_via_related(self, project, inventory, vaul
assert 'Credentials of type insights and vault' in r.data['msg']
assert 'disallowed for scm inventory sources' in r.data['msg']

def test_credentials_relationship_mapping(self, project, inventory, organization, admin_user, post, patch, test_credentials_relationship_mapping):
def test_credentials_relationship_mapping(self, project, inventory, organization, admin_user, post, patch):
"""The credentials relationship is used to manage the cloud credential
this test checks that replacement works"""
from awx.main.models.credential import Credential, CredentialType
Expand All @@ -512,7 +512,7 @@ def test_credentials_relationship_mapping(self, project, inventory, organization
data={
'inventory': inventory.pk,
'name': 'fobar',
'source': test_credentials_relationship_mapping,
'source': 'scm',
'source_project': project.pk,
'source_path': '',
'credential': os_cred.pk,
Expand Down

0 comments on commit f9a2f43

Please sign in to comment.