From de087eef08bd6fec6c6c1f3b6e17280b9c793985 Mon Sep 17 00:00:00 2001 From: Ganesh Hubale Date: Wed, 26 Jun 2019 20:03:10 +0530 Subject: [PATCH] Fixed vsphere skiping issue --- cfme/tests/infrastructure/test_child_tenant.py | 5 +++-- cfme/tests/infrastructure/test_project_quota.py | 5 +++-- cfme/tests/infrastructure/test_tenant_quota.py | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/cfme/tests/infrastructure/test_child_tenant.py b/cfme/tests/infrastructure/test_child_tenant.py index e18c3ec37e..8a80ae3c00 100644 --- a/cfme/tests/infrastructure/test_child_tenant.py +++ b/cfme/tests/infrastructure/test_child_tenant.py @@ -14,9 +14,10 @@ pytestmark = [ test_requirements.quota, pytest.mark.meta(server_roles="+automate"), - pytest.mark.usefixtures('setup_provider', 'uses_infra_providers'), + pytest.mark.usefixtures('setup_provider'), pytest.mark.long_running, - pytest.mark.provider([VMwareProvider, RHEVMProvider], scope="module", selector=ONE_PER_TYPE) + pytest.mark.provider([VMwareProvider, RHEVMProvider], scope="module", + required_fields=[["provisioning", "template"]], selector=ONE_PER_TYPE) ] diff --git a/cfme/tests/infrastructure/test_project_quota.py b/cfme/tests/infrastructure/test_project_quota.py index fee923463a..2de2bc61da 100644 --- a/cfme/tests/infrastructure/test_project_quota.py +++ b/cfme/tests/infrastructure/test_project_quota.py @@ -13,9 +13,10 @@ pytestmark = [ test_requirements.quota, pytest.mark.meta(server_roles="+automate"), - pytest.mark.usefixtures('setup_provider', 'uses_infra_providers'), + pytest.mark.usefixtures('setup_provider'), pytest.mark.long_running, - pytest.mark.provider([VMwareProvider, RHEVMProvider], scope="module", selector=ONE_PER_TYPE) + pytest.mark.provider([VMwareProvider, RHEVMProvider], scope="module", + required_fields=[["provisioning", "template"]], selector=ONE_PER_TYPE) ] diff --git a/cfme/tests/infrastructure/test_tenant_quota.py b/cfme/tests/infrastructure/test_tenant_quota.py index e19ac8e88b..32498cf942 100644 --- a/cfme/tests/infrastructure/test_tenant_quota.py +++ b/cfme/tests/infrastructure/test_tenant_quota.py @@ -19,7 +19,8 @@ pytest.mark.meta(server_roles="+automate"), test_requirements.vm_migrate, pytest.mark.usefixtures('setup_provider'), - pytest.mark.provider([VMwareProvider, RHEVMProvider], scope="module", selector=ONE_PER_TYPE) + pytest.mark.provider([VMwareProvider, RHEVMProvider], scope="module", + required_fields=[["provisioning", "template"]], selector=ONE_PER_TYPE) ]