rename oVirt4 to Red Hat Virtualization

see: https://github.com/ansible/ansible-tower/issues/7790
This commit is contained in:
Ryan Petrello
2017-11-28 10:09:33 -05:00
parent 7accac2f63
commit 6fa0d9d4ed
10 changed files with 22 additions and 21 deletions

View File

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