From e361ec863961982e01f3d7f5842245dac88a05fd Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 12 Apr 2023 22:48:02 +0200 Subject: Format: Run gofumpt (Go) + black (py) --- selenium_eduvpn.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'selenium_eduvpn.py') diff --git a/selenium_eduvpn.py b/selenium_eduvpn.py index b3a7c5f..2f452a0 100644 --- a/selenium_eduvpn.py +++ b/selenium_eduvpn.py @@ -46,15 +46,15 @@ def login_oauth(driver, authURL): elem.send_keys(portal_pass) # Click login button - driver.find_element("css selector", - ".frm > fieldset:nth-child(2) > button:nth-child(2)" + driver.find_element( + "css selector", ".frm > fieldset:nth-child(2) > button:nth-child(2)" ).click() # Check that we have reached the approve application page assert "VPN Portal - Approve Application" in driver.title # Click approve - driver.find_element("css selector", - ".frm > fieldset:nth-child(1) > button:nth-child(1)" + driver.find_element( + "css selector", ".frm > fieldset:nth-child(1) > button:nth-child(1)" ).click() -- cgit v1.2.3