From 81f5f3cb0247c2feffedc36d2c450f5487ba7247 Mon Sep 17 00:00:00 2001 From: melissaml Date: Mon, 12 Feb 2018 02:26:14 +0800 Subject: [PATCH] fix spelling errors Change-Id: Ie79558d1430b00e218f0ec1faf5f7d2655e3f846 --- .../tests/contrib/gbpfunctests/libs/config_libs.py | 12 ++++++------ .../tests/contrib/gbpfunctests/libs/verify_libs.py | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) 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)