Exemple #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)
Exemple #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)
Exemple #3
0
 def test_chmod(self):
     "Should change mode"
     nix.chmod(self.tname, 644)
     self.assertEqual(33412, os.stat(self.tname).st_mode)
Exemple #4
0
 def test_chmod(self):
     "Should change mode"
     nix.chmod(self.tname, 644)
     self.assertEqual(33412, os.stat(self.tname).st_mode)