コード例 #1
0
ファイル: test_installApp.py プロジェクト: wlach/build-tools
 def test_correct_path_if_found(self):
     os.path.exists.return_value = True
     found_path = installApp.find_robocop()
     self.assertTrue(found_path, "Should have found robocop.apk")
コード例 #2
0
ファイル: test_installApp.py プロジェクト: EkkiD/build-tools
 def test_correct_path_if_found(self):
     os.path.exists.return_value = True
     found_path = installApp.find_robocop()
     self.assertTrue(found_path,
                      "Should have found robocop.apk")
コード例 #3
0
ファイル: test_installApp.py プロジェクト: wlach/build-tools
 def test_null_path_if_not_found(self):
     os.path.exists.return_value = False
     found_path = installApp.find_robocop()
     self.assertFalse(found_path, "Should not have found robocop.apk")
コード例 #4
0
ファイル: test_installApp.py プロジェクト: EkkiD/build-tools
 def test_null_path_if_not_found(self):
     os.path.exists.return_value = False
     found_path = installApp.find_robocop()
     self.assertFalse(found_path,
                      "Should not have found robocop.apk")