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

Method assert_is_utf8

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

Source from the content-addressed store, hash-verified

545 self.assertRegex(exp, r'.*\ndotted_counter_total 1.0\n.*')
546
547 def assert_is_utf8(self, exp):
548 self.assertRegex(exp, r'.*\n{"dotted.counter_total"} 1.0\n.*')
549
550 def assert_is_prom(self, exp):
551 self.assertNotRegex(exp, r'# EOF')

Callers 2

test_openmetrics_utf8Method · 0.95
test_prom_utf8Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected