Exemplo n.º 1
0
 def test_cluster_history(self):
     dashboard_page = DashboardPage(self.client)
     history_page = dashboard_page.goto_history('1')
     response = history_page.response
     self.assertEqual(response.status_code, 200)
     match_string = "Cluster History for"
     self.assertTrue(re.search(match_string, response.content))
Exemplo n.º 2
0
 def test_cluster_history(self):
     dashboard_page = DashboardPage(self.client)
     history_page = dashboard_page.goto_history('1')
     response = history_page.response
     self.assertEqual(response.status_code, 200)
     match_string = "Cluster History for"
     self.assertTrue(re.search(match_string, response.content))