From 71891b3040605103397ffa7fb349215eced3a2c3 Mon Sep 17 00:00:00 2001 From: Edan Binshtok Date: Sun, 19 Nov 2017 11:50:50 +0200 Subject: Pep8 another fixes Add more fixes to pep8 Issue-ID: VVP-25 Change-Id: Icc3bd3977ced2b537c858a9801e04a6bf6d1db05 Signed-off-by: Edan Binshtok --- tests/uiTests/test_admin_section.py | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'tests/uiTests/test_admin_section.py') diff --git a/tests/uiTests/test_admin_section.py b/tests/uiTests/test_admin_section.py index 8ec9b44..f1339a1 100644 --- a/tests/uiTests/test_admin_section.py +++ b/tests/uiTests/test_admin_section.py @@ -1,5 +1,4 @@ - -# ============LICENSE_START========================================== +# ============LICENSE_START========================================== # org.onap.vvp/test-engine # =================================================================== # Copyright © 2017 AT&T Intellectual Property. All rights reserved. @@ -54,20 +53,29 @@ class TestAdminSection(TestUiBase): def setUpClass(cls): super(TestAdminSection, cls).setUpClass() - cls.user_content = API.VirtualFunction.create_engagement(wait_for_gitlab=False) + cls.user_content = API.VirtualFunction.create_engagement( + wait_for_gitlab=False) @exception() def test_admin_page(self): - Frontend.User.login(Constants.Users.Admin.EMAIL, Constants.Default.Password.TEXT) + Frontend.User.login( + Constants.Users.Admin.EMAIL, + Constants.Default.Password.TEXT) Frontend.User.go_to_account() Frontend.User.go_to_admin() - + @exception() def test_negative_admin_page(self): - users_email_list = [self.user_content['email'], self.user_content['pr_email'], self.user_content['el_email'], - Constants.Users.AdminRO.EMAIL] + users_email_list = [ + self.user_content['email'], + self.user_content['pr_email'], + self.user_content['el_email'], + Constants.Users.AdminRO.EMAIL] for user_email in users_email_list: Frontend.User.relogin(user_email, Constants.Default.Password.TEXT) Frontend.User.click_on_avatar() - session.run_negative(lambda: Frontend.User.click_on_admin(), "Negative test failed at" - " click_on_admin with user %s" % user_email) + session.run_negative( + lambda: Frontend.User.click_on_admin(), + "Negative test failed at" + " click_on_admin with user %s" % + user_email) -- cgit 1.2.3-korg