From dec2ef612479539e9f1248e4be53dfaba336a1fc Mon Sep 17 00:00:00 2001 From: john-dupuy Date: Mon, 25 Nov 2019 11:48:28 -0500 Subject: [PATCH] Add required flags for test_cloud_timelines.py --- cfme/tests/cloud/test_cloud_events.py | 2 +- cfme/tests/cloud/test_cloud_timelines.py | 4 ++-- cfme/tests/cloud_infra_common/test_events.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cfme/tests/cloud/test_cloud_events.py b/cfme/tests/cloud/test_cloud_events.py index 8ffe570f65..0b30c75674 100644 --- a/cfme/tests/cloud/test_cloud_events.py +++ b/cfme/tests/cloud/test_cloud_events.py @@ -11,7 +11,7 @@ pytestmark = [ pytest.mark.tier(3), - pytest.mark.provider([AzureProvider], scope='module'), + pytest.mark.provider([AzureProvider], scope='module', required_flags=['events']), pytest.mark.usefixtures('setup_provider_modscope'), test_requirements.events ] diff --git a/cfme/tests/cloud/test_cloud_timelines.py b/cfme/tests/cloud/test_cloud_timelines.py index 4ab922d147..2abc4808d2 100644 --- a/cfme/tests/cloud/test_cloud_timelines.py +++ b/cfme/tests/cloud/test_cloud_timelines.py @@ -16,8 +16,8 @@ pytestmark = [ pytest.mark.tier(2), - # Only onr prov out of the 2 is taken, if not supplying --use-provider=complete - pytest.mark.provider([AzureProvider, EC2Provider]), + # Only one prov out of the 2 is taken, if not supplying --use-provider=complete + pytest.mark.provider([AzureProvider, EC2Provider], required_flags=['timelines', 'events']), pytest.mark.usefixtures('setup_provider'), test_requirements.timelines, test_requirements.events, diff --git a/cfme/tests/cloud_infra_common/test_events.py b/cfme/tests/cloud_infra_common/test_events.py index 1846e5bd24..2c06bacdcd 100644 --- a/cfme/tests/cloud_infra_common/test_events.py +++ b/cfme/tests/cloud_infra_common/test_events.py @@ -13,7 +13,8 @@ from cfme.utils.wait import wait_for -all_prov = ProviderFilter(classes=[InfraProvider, CloudProvider], required_fields=['provisioning']) +all_prov = ProviderFilter(classes=[InfraProvider, CloudProvider], + required_fields=['provisioning', 'events']) excluded = ProviderFilter(classes=[KubeVirtProvider], inverted=True) pytestmark = [ pytest.mark.usefixtures('uses_infra_providers', 'uses_cloud_providers'),