def assert_opened_help_link_is_correct(test, url):
 test.browser.switch_to_window(test.browser.window_handles[(-1)])
 test.assertEqual(url, test.browser.current_url)
 test.assertNotIn('Maze Found', test.browser.title)

def assert_opened_help_link_is_correct ( test , url ) : test . browser . switch_to_window ( test . browser . window_handles [ ( - 1 ) ] ) test . assertEqual ( url , test . browser . current_url ) test . assertNotIn ( 'Maze Found' , test . browser . title )
asserts that url of browser when help link is clicked is correct .