コード例 #1
0
ファイル: test_lockfile.py プロジェクト: zpf5007/denyhosts
 def test_03_check_lockfile_exists(self):
     lf = LockFile(self.LOCKPATH)
     self.assertTrue(lf.exists())
コード例 #2
0
ファイル: test_lockfile.py プロジェクト: zpf5007/denyhosts
 def test_01_check_lockfile_not_exists(self):
     lf = LockFile(self.LOCKPATH)
     self.assertFalse(lf.exists())