Fix whitespace issues
Change-Id: I7c96843996f4847f9e15022f1dc6cd85e8a092f7
diff --git a/TestON/examples/CaseParams/CaseParams.py b/TestON/examples/CaseParams/CaseParams.py
index 0502c46..d988c14 100644
--- a/TestON/examples/CaseParams/CaseParams.py
+++ b/TestON/examples/CaseParams/CaseParams.py
@@ -15,27 +15,27 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with TestON. If not, see <http://www.gnu.org/licenses/>.
+ along with TestON. If not, see <http://www.gnu.org/licenses/>.
-'''
+'''
class CaseParams:
'''
This example shows the usage of the CASE level parameters, in params file the
[[CASE]]
'destination' = 'h2'
-
+
We can get this CASE level parameter like :
main.params['CASE1']['destination']
-
-
+
+
cd ~/bin/
ofautomation>run CaseParams example 1
will execute this example.
'''
-
+
def __init__(self):
self.default = ""
-
+
def CASE1(self,main):
'''
This test case will showcase usage of CASE level parameters to specify the host as h2
@@ -44,8 +44,8 @@
main.step("Host IP Checking using checkIP")
result = main.Mininet1.checkIP(main.params['CASE1']['destination'])
main.step("Verifying the result")
- utilities.assert_equals(expect=main.TRUE,actual=result,onpass="Host h2 IP address configured",onfail="Host h2 IP address didn't configured")
-
+ utilities.assert_equals(expect=main.TRUE,actual=result,onpass="Host h2 IP address configured",onfail="Host h2 IP address didn't configured")
+
def CASE2(self,main):
'''
@@ -55,4 +55,4 @@
main.step("Host IP Checking using checkIP")
result = main.Mininet1.checkIP(main.params['CASE2']['destination'])
main.step("Verifying the result")
- utilities.assert_equals(expect=main.TRUE,actual=result,onpass="Host h3 IP address configured",onfail="Host h3 IP address didn't configured")
+ utilities.assert_equals(expect=main.TRUE,actual=result,onpass="Host h3 IP address configured",onfail="Host h3 IP address didn't configured")