def test_path_check_absolute_ko(self): path = Path('this/is/a/relative/path') self.assertFalse(path.is_absolute())
def test_path_check_absolute_ok(self): p = Path('/this/is/a/absoliute/path') self.assertTrue(p.is_absolute())
def test_path_check_absolute_ko(self): path = Path('this/is/a/relative/path') self.assertFalse(path.is_absolute())
def test_path_check_absolute_ok(self): p = Path('/this/is/a/absoliute/path') self.assertTrue(p.is_absolute())