(
self,
metric_name: str,
help_text: str,
increments: int,
)
| 40 | return app |
| 41 | |
| 42 | def increment_metrics( |
| 43 | self, |
| 44 | metric_name: str, |
| 45 | help_text: str, |
| 46 | increments: int, |
| 47 | ) -> None: |
| 48 | c = Counter(metric_name, help_text, registry=self.registry) |
| 49 | for _ in range(increments): |
| 50 | c.inc() |
| 51 | |
| 52 | def assert_metrics( |
| 53 | self, |
no test coverage detected