Fix whitespace issues
Change-Id: I7c96843996f4847f9e15022f1dc6cd85e8a092f7
diff --git a/TestON/examples/Topology/Topology.py b/TestON/examples/Topology/Topology.py
index 775535c..efccde9 100644
--- a/TestON/examples/Topology/Topology.py
+++ b/TestON/examples/Topology/Topology.py
@@ -16,33 +16,33 @@
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 Topology:
'''
-
+
This example shows, how we can use the topology file:
-
+
In topo file we can specify the component like below:
- [TOPOLOGY]
-
+ [TOPOLOGY]
+
[[COMPONENT]]
[[["Mininet1"]]]
-
+
The usage of this component in the test script like below:
-
+
main.Mininet1.checkIP(main.params['CASE1']['destination'])
-
- Here we are using the Mininet1 which of type Mininet
-
-
-
+
+ Here we are using the Mininet1 which of type Mininet
+
+
+
ofautomation>run Topology example 1
will execute this example.
'''
def __init__(self):
self.default = ""
-
+
def CASE1(self,main):
'''
This will showcase the usage of Topology
@@ -51,6 +51,6 @@
main.step("Mininet1 specified in Topology , using the Mininet1 to check host ip")
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")
+
+