Run codecheck script on CHOTestMonkey
Change-Id: I11047f1b4c6ecd8273695c230d3a4a99475a6db6
diff --git a/TestON/tests/CHOTestMonkey/dependencies/elements/ONOSElement.py b/TestON/tests/CHOTestMonkey/dependencies/elements/ONOSElement.py
index aa3a7a3..aed7a5b 100644
--- a/TestON/tests/CHOTestMonkey/dependencies/elements/ONOSElement.py
+++ b/TestON/tests/CHOTestMonkey/dependencies/elements/ONOSElement.py
@@ -4,7 +4,9 @@
"""
from threading import Lock
+
class Controller:
+
def __init__( self, index ):
self.default = ''
self.index = index
@@ -28,7 +30,9 @@
def bringUp( self ):
self.status = 'up'
+
class Intent:
+
def __init__( self, id ):
self.default = ''
self.type = 'INTENT'
@@ -47,7 +51,9 @@
def isInstalled( self ):
return self.expectedState == 'INSTALLED'
+
class HostIntent( Intent ):
+
def __init__( self, id, hostA, hostB ):
Intent.__init__( self, id )
self.type = 'INTENT_HOST'
@@ -75,7 +81,9 @@
def __str__( self ):
return "ID: " + self.id
+
class PointIntent( Intent ):
+
def __init__( self, id, deviceA, deviceB ):
Intent.__init__( self, id )
self.type = 'INTENT_POINT'