File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929from robottelo .config import settings
3030from robottelo .constants import (
3131 ANY_CONTEXT ,
32+ ANY_LOCATION ,
3233 DEFAULT_ARCHITECTURE ,
3334 DEFAULT_CV ,
3435 DEFAULT_LOC ,
36+ DEFAULT_ORG ,
3537 ENVIRONMENT ,
3638 FAKE_1_CUSTOM_PACKAGE ,
3739 FAKE_7_CUSTOM_PACKAGE ,
@@ -4251,8 +4253,7 @@ def test_assign_different_cv_from_same_env(
42514253
42524254
42534255def test_positive_only_single_library_option_in_create_form (target_sat ):
4254- """
4255- Ensure that only 1 Library option is displayed in the Create Host form
4256+ """Ensure that only 1 Library option is displayed in the Create Host form
42564257 when location is set to "Any location"
42574258
42584259 :id: 559f6324-dc17-4274-99f5-957ef0a2faf0
@@ -4269,8 +4270,8 @@ def test_positive_only_single_library_option_in_create_form(target_sat):
42694270 :customerscenario: true
42704271 """
42714272 with target_sat .ui_session () as session :
4272- session .organization .select (org_name = 'Default Organization' )
4273- session .location .select (loc_name = 'Any location' )
4273+ session .organization .select (org_name = DEFAULT_ORG )
4274+ session .location .select (loc_name = ANY_LOCATION )
42744275 create_form = session .host .get_create_form ()
42754276 create_form .host .lce .open_filter .click ()
42764277 # Check that 'Library' appears just once
You can’t perform that action at this time.
0 commit comments