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

Method setUp

tests/test_twisted.py:26–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24class MetricsResourceTest(TestCase):
25 @skipUnless(HAVE_TWISTED, "Don't have twisted installed.")
26 def setUp(self):
27 self.registry = CollectorRegistry()
28
29 def test_reports_metrics(self):
30 """

Callers

nothing calls this directly

Calls 1

CollectorRegistryClass · 0.90

Tested by

no test coverage detected