Run codecheck script on CHOTestMonkey
Change-Id: I11047f1b4c6ecd8273695c230d3a4a99475a6db6
diff --git a/TestON/tests/CHOTestMonkey/dependencies/EventTrigger.py b/TestON/tests/CHOTestMonkey/dependencies/EventTrigger.py
index 27b8166..7e912d0 100644
--- a/TestON/tests/CHOTestMonkey/dependencies/EventTrigger.py
+++ b/TestON/tests/CHOTestMonkey/dependencies/EventTrigger.py
@@ -6,6 +6,7 @@
import random
from multiprocessing.connection import Client
+
def triggerEvent( type, scheduleMethod, *args ):
"""
This function inserts an event into CHOTestMonkey
@@ -42,6 +43,7 @@
print "Unknown response from server:", response
conn.close()
+
def testLoop( sleepTime=5 ):
downLinkNum = 0
downDeviceNum = 0
@@ -66,6 +68,7 @@
else:
pass
+
def replayFromFile( filePath='/home/admin/event-list', sleepTime=1 ):
try:
f = open( filePath, 'r' )