mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Web UI integration tests: PEP8 fixes
Tests modified to comply with PEP8 rules with exception of rule E501 (long lines). Done by autopep8 tool and 2 manual modifications. https://fedorahosted.org/freeipa/ticket/3744
This commit is contained in:
@@ -59,6 +59,7 @@ KEY_DATA = {
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
class test_automount(UI_driver):
|
||||
|
||||
def test_crud(self):
|
||||
@@ -69,32 +70,32 @@ class test_automount(UI_driver):
|
||||
|
||||
# location
|
||||
self.basic_crud(LOC_ENTITY, LOC_DATA,
|
||||
default_facet='maps',
|
||||
delete=False,
|
||||
breadcrumb='Automount Locations'
|
||||
)
|
||||
default_facet='maps',
|
||||
delete=False,
|
||||
breadcrumb='Automount Locations'
|
||||
)
|
||||
|
||||
# map
|
||||
self.navigate_to_record(LOC_PKEY)
|
||||
|
||||
self.basic_crud(MAP_ENTITY, MAP_DATA,
|
||||
parent_entity=LOC_ENTITY,
|
||||
search_facet='maps',
|
||||
default_facet='keys',
|
||||
delete=False,
|
||||
navigate=False,
|
||||
breadcrumb=LOC_PKEY,
|
||||
)
|
||||
parent_entity=LOC_ENTITY,
|
||||
search_facet='maps',
|
||||
default_facet='keys',
|
||||
delete=False,
|
||||
navigate=False,
|
||||
breadcrumb=LOC_PKEY,
|
||||
)
|
||||
|
||||
# key
|
||||
self.navigate_to_record(MAP_PKEY)
|
||||
|
||||
self.basic_crud(KEY_ENTITY, KEY_DATA,
|
||||
parent_entity=MAP_ENTITY,
|
||||
search_facet='keys',
|
||||
navigate=False,
|
||||
breadcrumb=MAP_PKEY,
|
||||
)
|
||||
parent_entity=MAP_ENTITY,
|
||||
search_facet='keys',
|
||||
navigate=False,
|
||||
breadcrumb=MAP_PKEY,
|
||||
)
|
||||
|
||||
# delete
|
||||
self.navigate_by_breadcrumb(LOC_PKEY)
|
||||
|
Reference in New Issue
Block a user