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