Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] Add required flags for test_cloud_timelines.py #9670

Merged
merged 1 commit into from
Nov 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cfme/tests/cloud/test_cloud_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Expand Down
4 changes: 2 additions & 2 deletions cfme/tests/cloud/test_cloud_timelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 2 additions & 1 deletion cfme/tests/cloud_infra_common/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down