Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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
             )