(self)
| 561 | self.assert_is_prom(exp) |
| 562 | |
| 563 | def test_plain_encoder(self): |
| 564 | generator, content_type = choose_encoder(CONTENT_TYPE_PLAIN_0_0_4) |
| 565 | assert content_type == CONTENT_TYPE_PLAIN_0_0_4 |
| 566 | exp = generator(self.registry).decode('utf-8') |
| 567 | self.assert_is_escaped(exp) |
| 568 | self.assert_is_prom(exp) |
| 569 | |
| 570 | def test_openmetrics_latest(self): |
| 571 | generator, content_type = choose_encoder(openmetrics.CONTENT_TYPE_LATEST) |
nothing calls this directly
no test coverage detected