コード例 #1
0
ファイル: test_nix.py プロジェクト: pombredanne/ffs-1
 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)
コード例 #2
0
ファイル: test_nix.py プロジェクト: davidmiller/ffs
 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)
コード例 #3
0
ファイル: test_nix.py プロジェクト: pombredanne/ffs-1
 def test_chmod(self):
     "Should change mode"
     nix.chmod(self.tname, 644)
     self.assertEqual(33412, os.stat(self.tname).st_mode)
コード例 #4
0
ファイル: test_nix.py プロジェクト: davidmiller/ffs
 def test_chmod(self):
     "Should change mode"
     nix.chmod(self.tname, 644)
     self.assertEqual(33412, os.stat(self.tname).st_mode)