mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 05:30:18 -03:30
rename oVirt4 to Red Hat Virtualization
see: https://github.com/ansible/ansible-tower/issues/7790
This commit is contained in:
@@ -704,8 +704,8 @@ class TestJobCredentials(TestJobExecution):
|
||||
self.task.run(self.pk)
|
||||
|
||||
@pytest.mark.parametrize("ca_file", [None, '/path/to/some/file'])
|
||||
def test_ovirt4_credentials(self, ca_file):
|
||||
ovirt4 = CredentialType.defaults['ovirt4']()
|
||||
def test_rhv_credentials(self, ca_file):
|
||||
rhv = CredentialType.defaults['rhv']()
|
||||
inputs = {
|
||||
'host': 'some-ovirt-host.example.org',
|
||||
'username': 'bob',
|
||||
@@ -715,7 +715,7 @@ class TestJobCredentials(TestJobExecution):
|
||||
inputs['ca_file'] = ca_file
|
||||
credential = Credential(
|
||||
pk=1,
|
||||
credential_type=ovirt4,
|
||||
credential_type=rhv,
|
||||
inputs=inputs
|
||||
)
|
||||
credential.inputs['password'] = encrypt_field(credential, 'password')
|
||||
|
||||
Reference in New Issue
Block a user