From 279db123016b8de7ca7645575d6e2a2038e89400 Mon Sep 17 00:00:00 2001 From: nachandr Date: Wed, 10 Apr 2019 17:02:24 -0500 Subject: [PATCH] Tests for grouping cluster candu graphs by tags --- cfme/tests/candu/test_graph_groupbytag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cfme/tests/candu/test_graph_groupbytag.py b/cfme/tests/candu/test_graph_groupbytag.py index 647b8644b9..dcca71f67f 100644 --- a/cfme/tests/candu/test_graph_groupbytag.py +++ b/cfme/tests/candu/test_graph_groupbytag.py @@ -19,7 +19,7 @@ 'network', 'cpu_state'] -INTERVAL = ['hourly', 'daily'] +INTERVAL = ['Hourly', 'Daily'] GROUP_BY = ['VM Location'] @@ -31,10 +31,10 @@ @pytest.fixture(scope='function') def entity_object(temp_appliance_extended_db, entity): vm = temp_appliance_extended_db.rest_api.collections.vms.get(name=CANDU_VM) - if entity == 'Host': + if entity == 'host': vm_host = vm.host.name return temp_appliance_extended_db.collections.hosts.instantiate(name=vm_host) - elif entity == 'Cluster': + elif entity == 'cluster': provider = temp_appliance_extended_db.rest_api.collections.providers.get(id=vm.ems_id) cluster = temp_appliance_extended_db.rest_api.collections.clusters.get(id=vm.ems_cluster_id) provider_object = temp_appliance_extended_db.collections.infra_providers.instantiate(