(self, output, metric_name, help_text, increments)
| 85 | c.inc() |
| 86 | |
| 87 | def assert_metrics(self, output, metric_name, help_text, increments): |
| 88 | self.assertIn("# HELP " + metric_name + "_total " + help_text + "\n", output) |
| 89 | self.assertIn("# TYPE " + metric_name + "_total counter\n", output) |
| 90 | self.assertIn(metric_name + "_total " + str(increments) + ".0\n", output) |
| 91 | |
| 92 | def assert_not_metrics(self, output, metric_name, help_text, increments): |
| 93 | self.assertNotIn("# HELP " + metric_name + "_total " + help_text + "\n", output) |
no outgoing calls
no test coverage detected