コード例 #1
0
ファイル: test_utils.py プロジェクト: hivetech/dna
 def test_not_running_process_detection(self):
     self.assertFalse(utils.is_running('no_chance_this_program_is_running'))
コード例 #2
0
ファイル: test_utils.py プロジェクト: hivetech/dna
 def test_not_running_process_detection(self):
     self.assertFalse(utils.is_running('no_chance_this_program_is_running'))
コード例 #3
0
ファイル: test_utils.py プロジェクト: hivetech/dna
 def test_running_process_detection(self):
     self.assertTrue(utils.is_running(self.always_running_process))
コード例 #4
0
ファイル: test_utils.py プロジェクト: hivetech/dna
 def test_running_process_detection(self):
     self.assertTrue(utils.is_running(self.always_running_process))