(self)
| 625 | self.assert_is_openmetrics(exp) |
| 626 | |
| 627 | def test_prom_no_version(self): |
| 628 | generator, content_type = choose_encoder('text/plain; charset=utf-8; escaping=allow-utf-8') |
| 629 | assert content_type == 'text/plain; version=0.0.4; charset=utf-8' |
| 630 | exp = generator(self.registry).decode('utf-8') |
| 631 | # No version -- allow-utf-8 rejected. |
| 632 | self.assert_is_escaped(exp) |
| 633 | self.assert_is_prom(exp) |
| 634 | |
| 635 | |
| 636 | @pytest.mark.parametrize("scenario", [ |
nothing calls this directly
no test coverage detected