Replace the generic exception class with a more specific one to fix SonarQube issues.

This commit is contained in:
Aditya Toshniwal
2020-08-05 12:41:28 +05:30
committed by Akshay Joshi
parent d2621282dc
commit aa679e06b2
14 changed files with 73 additions and 48 deletions

View File

@@ -1129,9 +1129,9 @@ def check_binary_path_or_skip_test(cls, utility_name):
cls.server['default_binary_paths'][cls.server['type']],
utility_name
)
retVal = does_utility_exist(binary_path)
if retVal is not None:
cls.skipTest(retVal)
ret_val = does_utility_exist(binary_path)
if ret_val is not None:
cls.skipTest(ret_val)
def get_watcher_dialogue_status(self):