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