def test_logout(self): driver = self.driver lp = Homepage(driver) lp.click_navigation_drpdwn() lp.click_logout_btn()