Beispiel #1
0
 def test_tallying_errors(self):
     errors = cl_report_scrape_status.tally_errors()
     self.assertEqual(
         errors['test'],
         [1, 1],
         msg="Did not get expected error counts. Instead got: %s" %
             errors['test'])
Beispiel #2
0
 def test_tallying_errors(self) -> None:
     errors = cl_report_scrape_status.tally_errors()
     self.assertEqual(
         errors["test"],
         [1, 1],
         msg=
         f"Did not get expected error counts. Instead got: {errors['test']}",
     )