From 6daf1e0ca84ccb1ef531c53e0a90fd8132e05c46 Mon Sep 17 00:00:00 2001 From: john-dupuy Date: Tue, 25 Jun 2019 15:36:30 -0400 Subject: [PATCH] Add automates metadata for control FA --- cfme/tests/control/test_actions.py | 4 +++- cfme/tests/control/test_bugs.py | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/cfme/tests/control/test_actions.py b/cfme/tests/control/test_actions.py index 46f0c9f57c..68a4692a4e 100644 --- a/cfme/tests/control/test_actions.py +++ b/cfme/tests/control/test_actions.py @@ -320,7 +320,7 @@ def _cleanup(): @pytest.mark.provider( [VMwareProvider, RHEVMProvider, OpenStackProvider, AzureProvider], scope="module" ) -@pytest.mark.meta(blockers=[BZ(1702018)]) +@pytest.mark.meta(blockers=[BZ(1702018)], automates=[1702018]) def test_action_prevent_vm_retire(request, vm, vm_on, policy_for_testing): """This test sets the policy that prevents VM retiring. @@ -360,6 +360,7 @@ def _fail_func(): @pytest.mark.provider([VMwareProvider], scope="module") +@pytest.mark.meta(automates=[1433084]) def test_action_prevent_ssa(request, appliance, configure_fleecing, vm, vm_on, policy_for_testing): """Tests preventing Smart State Analysis. @@ -402,6 +403,7 @@ def _cleanup(): @pytest.mark.provider([VMwareProvider, RHEVMProvider], scope="module") +@pytest.mark.meta(automates=[1437910]) def test_action_prevent_host_ssa(request, appliance, host, host_policy): """Tests preventing Smart State Analysis on a host. diff --git a/cfme/tests/control/test_bugs.py b/cfme/tests/control/test_bugs.py index 72d9eaf2e5..80b1cfda4f 100644 --- a/cfme/tests/control/test_bugs.py +++ b/cfme/tests/control/test_bugs.py @@ -243,6 +243,9 @@ def test_scope_windows_registry_stuck(request, appliance, infra_provider): casecomponent: Control caseimportance: low initialEstimate: 1/6h + + Bugzilla: + 1155284 """ policy = appliance.collections.policies.create( VMCompliancePolicy, @@ -281,6 +284,9 @@ def test_invoke_custom_automation(request, appliance): casecomponent: Control caseimportance: medium initialEstimate: 1/6h + + Bugzilla: + 1243357 """ # The action is to have all possible fields filled, that way we can ensure it is good action = appliance.collections.actions.create( @@ -323,6 +329,9 @@ def test_check_compliance_history(request, virtualcenter_provider, vmware_vm, ap assignee: jdupuy initialEstimate: 1/4h casecomponent: Control + + Bugzilla: + 1375093 """ policy = appliance.collections.policies.create( VMCompliancePolicy, @@ -346,7 +355,7 @@ def test_check_compliance_history(request, virtualcenter_provider, vmware_vm, ap vmware_vm.name) -@pytest.mark.meta(blockers=[BZ(1395965), BZ(1491576)]) +@pytest.mark.meta(blockers=[BZ(1395965), BZ(1491576)], automates=[1395965]) def test_delete_all_actions_from_compliance_policy(request, appliance): """We should not allow a compliance policy to be saved if there are no actions on the compliance event. @@ -364,6 +373,10 @@ def test_delete_all_actions_from_compliance_policy(request, appliance): caseimportance: medium caseposneg: negative initialEstimate: 1/12h + + Bugzilla: + 1395965 + 1491576 """ policy = appliance.collections.policies.create( VMCompliancePolicy, fauxfactory.gen_alphanumeric() @@ -446,6 +459,7 @@ def test_alert_ram_reconfigured(hardware_reconfigured_alert): @pytest.mark.tier(2) @test_requirements.alert +@pytest.mark.meta(automates=[1658670, 1672698]) def test_alert_for_disk_usage(setup_disk_usage_alert): """ Bugzilla: @@ -508,6 +522,7 @@ def _check_query(): @pytest.mark.parametrize( "condition_class", CONDITIONS, ids=lambda condition_class: condition_class.__name__ ) +@pytest.mark.meta(automates=[1683697]) def test_accordion_after_condition_creation(appliance, condition_class): """ Bugzilla: