(self)
| 24 | self.assertIsInstance(self.cls.parser, _PathParser) |
| 25 | |
| 26 | def test_constructor(self): |
| 27 | P = self.cls |
| 28 | p = P('a') |
| 29 | self.assertIsInstance(p, P) |
| 30 | P() |
| 31 | P('a', 'b', 'c') |
| 32 | P('/a', 'b', 'c') |
| 33 | P('a/b/c') |
| 34 | P('/a/b/c') |
| 35 | |
| 36 | def test_with_segments(self): |
| 37 | class P(self.cls): |
nothing calls this directly
no test coverage detected