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

Method assert_is_escaped

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

Source from the content-addressed store, hash-verified

542 self.registry.register(CustomCollector())
543
544 def assert_is_escaped(self, exp):
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.*')

Callers 7

test_default_encoderMethod · 0.95
test_plain_encoderMethod · 0.95
test_prom_latestMethod · 0.95
test_prom_plain_1_0_0Method · 0.95
test_prom_no_versionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected