MCPcopy Index your code
hub / github.com/prometheus/client_python / assert_is_openmetrics

Method assert_is_openmetrics

tests/test_exposition.py:553–554  ·  view source on GitHub ↗
(self, exp)

Source from the content-addressed store, hash-verified

551 self.assertNotRegex(exp, r'# EOF')
552
553 def assert_is_openmetrics(self, exp):
554 self.assertRegex(exp, r'# EOF')
555
556 def test_default_encoder(self):
557 generator, content_type = choose_encoder(None)

Calls

no outgoing calls

Tested by

no test coverage detected