diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-07-24 13:24:02 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-07-26 13:35:12 +0200 |
commit | 6ec5e5fec6bb2b1d8b556779a1309ed1295508b7 (patch) | |
tree | 126474a34ad61d032cf013c69a7e59da34e0d734 /ipatests/test_webui/test_user.py | |
parent | 8a3d8aeca3bec741f8c23652848075c298bea5f1 (diff) | |
download | freeipa-6ec5e5fec6bb2b1d8b556779a1309ed1295508b7.tar.gz freeipa-6ec5e5fec6bb2b1d8b556779a1309ed1295508b7.tar.xz freeipa-6ec5e5fec6bb2b1d8b556779a1309ed1295508b7.zip |
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
Diffstat (limited to 'ipatests/test_webui/test_user.py')
-rw-r--r-- | ipatests/test_webui/test_user.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ipatests/test_webui/test_user.py b/ipatests/test_webui/test_user.py index ec1d1951..a17ac27a 100644 --- a/ipatests/test_webui/test_user.py +++ b/ipatests/test_webui/test_user.py @@ -29,6 +29,7 @@ import ipatests.test_webui.data_hbac as hbac import ipatests.test_webui.test_rbac as rbac import ipatests.test_webui.data_sudo as sudo + class test_user(UI_driver): def test_crud(self): @@ -90,7 +91,7 @@ class test_user(UI_driver): self.add_record(group.ENTITY, group.DATA2) self.navigate_to_record(group.PKEY2) - self.add_associations([group.PKEY],facet='member_group') + self.add_associations([group.PKEY], facet='member_group') self.add_record(netgroup.ENTITY, netgroup.DATA) self.navigate_to_record(netgroup.PKEY) @@ -128,7 +129,6 @@ class test_user(UI_driver): self.delete(hbac.RULE_ENTITY, [hbac.RULE_DATA]) self.delete(sudo.RULE_ENTITY, [sudo.RULE_DATA]) - def test_actions(self): """ Test user actions @@ -144,8 +144,8 @@ class test_user(UI_driver): # reset password pwd = self.config.get('ipa_password') fields = [ - ('password' ,'password1', pwd), - ('password' ,'password2', pwd), + ('password', 'password1', pwd), + ('password', 'password2', pwd), ] self.action_panel_action('account_actions', 'reset_password') self.assert_dialog() |