(self)
| 21 | self.assertRaises(Exception, getParentAndBase, 'a/') |
| 22 | |
| 23 | def test_pathJoin(self): |
| 24 | self.assertEqual('/a/b/c/d', pathJoin('/a/b/c/', 'd')) |
| 25 | self.assertEqual('/a/b/c/d', pathJoin('/a/b/c', 'd')) |
| 26 | self.assertEqual('/a//b/c///d', pathJoin('/a//b/c//', '/d')) |
| 27 | |
| 28 | if __name__ == '__main__': |
| 29 | unittest.main() |
nothing calls this directly
no test coverage detected