Ejemplo n.º 1
0
 def test_with_path(self):
     "Should work with Path objects"
     nix.chmod(Path(self.tname), 644)
     self.assertEqual(33412, os.stat(self.tname).st_mode)
Ejemplo n.º 2
0
 def test_with_path(self):
     "Should work with Path objects"
     nix.chmod(Path(self.tname), 644)
     self.assertEqual(33412, os.stat(self.tname).st_mode)
Ejemplo n.º 3
0
 def test_chmod(self):
     "Should change mode"
     nix.chmod(self.tname, 644)
     self.assertEqual(33412, os.stat(self.tname).st_mode)
Ejemplo n.º 4
0
 def test_chmod(self):
     "Should change mode"
     nix.chmod(self.tname, 644)
     self.assertEqual(33412, os.stat(self.tname).st_mode)