def test_click_top_notification(self):
    'Click the top notification and assert that the page has changed.'
    header_page = pagemodels.headerpage.HeaderPage(self.driver)
    header_page.click_top_notification()
    self.assertTrue((('title' in self.driver.current_url) or ('notification' in self.driver.current_url)))
Click the top notification and assert that the page has changed.
def test_click_top_notification(self):
    
    header_page = pagemodels.headerpage.HeaderPage(self.driver)
    header_page.click_top_notification()
    self.assertTrue((('title' in self.driver.current_url) or ('notification' in self.driver.current_url)))