def test_goto_account(self): dashboard_page = DashboardPage(self.client) account_page = dashboard_page.goto_account() self.assertEqual(account_page.response.status_code, 200) match_string = "Account Information for user001" self.assertTrue(re.search(match_string, account_page.response.content), "String not found: " + match_string)
def test_goto_account(self): dashboard_page = DashboardPage(self.client) account_page = dashboard_page.goto_account() self.assertEqual(account_page.response.status_code, 200) match_string = "Account Information for user001" self.assertTrue( re.search(match_string, account_page.response.content), "String not found: " + match_string )