Exemplo n.º 1
0
 def test_path_not_ends_with(self):
     p = Path("/a/b/cdef")
     self.assertFalse(p.endswith("eg"))
Exemplo n.º 2
0
 def test_path_ends_with(self):
     p = Path("/a/b/cdef")
     self.assertTrue(p.endswith("ef"))