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

Commit

Permalink
Merge pull request #8562 from john-dupuy/remove-manual-control-case
Browse files Browse the repository at this point in the history
[RFR] Remove manual control case
  • Loading branch information
izapolsk authored Mar 12, 2019
2 parents 251436b + 696ddac commit 115163e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
17 changes: 0 additions & 17 deletions cfme/tests/control/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,20 +733,3 @@ def test_control_policy_simulation_displayed():
initialEstimate: 1/6h
"""
pass


@pytest.mark.manual
@test_requirements.control
@pytest.mark.tier(3)
def test_control_import_with_incorrect_schema():
"""
Test importing yaml with incorrect schema.
Polarion:
assignee: jdupuy
casecomponent: Control
caseimportance: low
caseposneg: negative
initialEstimate: 1/12h
"""
pass
11 changes: 3 additions & 8 deletions cfme/tests/control/test_import_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ def import_invalid_yaml_file(request):
return data_path.join("ui/control/invalid.yaml").realpath().strpath


@pytest.fixture(scope="module")
def policy_profile_collection(appliance):
return appliance.collections.policy_profiles


@pytest.mark.meta(blockers=[1106456, 1198111], automates=[1198111])
def test_import_policies(appliance, import_policy_file):
"""
Expand All @@ -52,7 +47,7 @@ def test_control_import_invalid_yaml_file(appliance, import_invalid_yaml_file):
import_export.import_file(appliance, import_invalid_yaml_file)


def test_control_import_existing_policies(appliance, import_policy_file, policy_profile_collection):
def test_control_import_existing_policies(appliance, import_policy_file):
"""
Polarion:
assignee: jdupuy
Expand All @@ -62,7 +57,7 @@ def test_control_import_existing_policies(appliance, import_policy_file, policy_
initialEstimate: 1/12h
"""
import_export.import_file(appliance, import_policy_file)
first_import = policy_profile_collection.all_policy_profile_names
first_import = appliance.collections.policy_profiles.all_policy_profile_names
import_export.import_file(appliance, import_policy_file)
second_import = policy_profile_collection.all_policy_profile_names
second_import = appliance.collections.policy_profiles.all_policy_profile_names
assert first_import == second_import

0 comments on commit 115163e

Please sign in to comment.