Method
assert_not_metrics
(
self,
output: str,
metric_name: str,
help_text: str,
increments: int,
)
Source from the content-addressed store, hash-verified
| 61 | self.assertIn(metric_name + "_total " + str(increments) + ".0\n", output) |
| 62 | |
| 63 | def assert_not_metrics( |
| 64 | self, |
| 65 | output: str, |
| 66 | metric_name: str, |
| 67 | help_text: str, |
| 68 | increments: int, |
| 69 | ) -> None: |
| 70 | self.assertNotIn("# HELP " + metric_name + "_total " + help_text + "\n", output) |
| 71 | self.assertNotIn("# TYPE " + metric_name + "_total counter\n", output) |
| 72 | self.assertNotIn(metric_name + "_total " + str(increments) + ".0\n", output) |
| 73 | |
| 74 | async def assert_outputs( |
| 75 | self, |
Tested by
no test coverage detected