(self)
| 6 | |
| 7 | class TestProcessCollector(unittest.TestCase): |
| 8 | def setUp(self): |
| 9 | self.registry = CollectorRegistry() |
| 10 | self.test_proc = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'proc') |
| 11 | |
| 12 | def test_working(self): |
| 13 | collector = ProcessCollector(proc=self.test_proc, pid=lambda: 26231, registry=self.registry) |
nothing calls this directly
no test coverage detected