def test_logout_from_header(self):
    'Logout from the header.'
    header_page = pagemodels.headerpage.HeaderPage(self.driver)
    header_page.logout()
    self.assertIn('logout', self.driver.current_url)
    tests.pickledlogin.pickled_login(self.driver)
Logout from the header.
def test_logout_from_header(self):
    
    header_page = pagemodels.headerpage.HeaderPage(self.driver)
    header_page.logout()
    self.assertIn('logout', self.driver.current_url)
    tests.pickledlogin.pickled_login(self.driver)