Esempio n. 1
0
 def test_get_status_counts(self):
     counts = rpc_interface.get_status_counts(group_by=['job_name'])
     group1, group2 = counts['groups']
     self.assertEqual(group1['pass_count'], 1)
     self.assertEqual(group1['complete_count'], 2)
     self.assertEqual(group1['incomplete_count'], 0)
     self.assertEqual(group2['pass_count'], 1)
     self.assertEqual(group2['complete_count'], 1)
     self.assertEqual(group2['incomplete_count'], 0)
 def test_get_status_counts(self):
     counts = rpc_interface.get_status_counts(group_by=['job_name'])
     group1, group2 = counts['groups']
     self.assertEquals(group1['pass_count'], 1)
     self.assertEquals(group1['complete_count'], 2)
     self.assertEquals(group1['incomplete_count'], 0)
     self.assertEquals(group2['pass_count'], 1)
     self.assertEquals(group2['complete_count'], 1)
     self.assertEquals(group2['incomplete_count'], 0)