diff --git a/gbpservice/tests/contrib/gbpfunctests/libs/config_libs.py b/gbpservice/tests/contrib/gbpfunctests/libs/config_libs.py index 19669d882..54c202f1a 100755 --- a/gbpservice/tests/contrib/gbpfunctests/libs/config_libs.py +++ b/gbpservice/tests/contrib/gbpfunctests/libs/config_libs.py @@ -81,7 +81,7 @@ class Gbp_Config(object): cmd_out = commands.getoutput(cmd) _log.info(cmd_out) # Catch for non-exception error strings, even though try clause - # succeded + # succeeded if self.cmd_error_check(cmd_out) == 0: return 0 # If "create" cmd succeeded then parse the cmd_out to extract the UUID @@ -116,7 +116,7 @@ class Gbp_Config(object): # Execute the policy-classifier-config-cmd cmd_out = commands.getoutput(cmd) # Catch for non-exception error strings, even though try clause - # succeded + # succeeded if self.cmd_error_check(cmd_out) == 0: return 0 # If try clause succeeds for "create" cmd then parse the cmd_out @@ -179,7 +179,7 @@ class Gbp_Config(object): cmd_out = commands.getoutput(cmd) #_log.info(cmd_out) # Catch for non-exception error strings, even though try clause - # succeded + # succeeded if self.cmd_error_check(cmd_out) == 0: return 0 # If try clause succeeds for "create" cmd then parse the cmd_out to @@ -260,7 +260,7 @@ class Gbp_Config(object): cmd_out = commands.getoutput(cmd) #_log.info(cmd_out) # Catch for non-exception error strings, even though try clause - # succeded + # succeeded if self.cmd_error_check(cmd_out) == 0: return 0 return 1 @@ -341,7 +341,7 @@ class Gbp_Config(object): cmd_out = commands.getoutput(cmd) # Catch for non-exception error strings, even though try clause - # succeded + # succeeded if self.cmd_error_check(cmd_out) == 0: return 0 if cmd_val == 1: @@ -384,7 +384,7 @@ class Gbp_Config(object): cmd_out = commands.getoutput(cmd) # Catch for non-exception error strings, even though try clause - # succeded + # succeeded if self.cmd_error_check(cmd_out) == 0: return 0 if cmd_val == 1: diff --git a/gbpservice/tests/contrib/gbpfunctests/libs/verify_libs.py b/gbpservice/tests/contrib/gbpfunctests/libs/verify_libs.py index fde8d6834..7acf5670b 100755 --- a/gbpservice/tests/contrib/gbpfunctests/libs/verify_libs.py +++ b/gbpservice/tests/contrib/gbpfunctests/libs/verify_libs.py @@ -73,7 +73,7 @@ class Gbp_Verify(object): cmd_out = commands.getoutput(cmd) # Catch for non-exception error strings, even though try clause - # succeded + # succeeded for err in self.err_strings: if re.search('\\b%s\\b' % (err), cmd_out, re.I): _log.info(cmd_out) @@ -127,7 +127,7 @@ class Gbp_Verify(object): cmd_out = commands.getoutput(cmd) # Catch for non-exception error strings, even though try clause - # succeded + # succeeded for err in self.err_strings: if re.search('\\b%s\\b' % (err), cmd_out, re.I): _log.info(cmd_out)