onoslogger close method is now gone as session is closed by ssh agent after run command
Change-Id: I2e36ac0449d406f37d10c50b4dcd562870aab150
diff --git a/src/test/utils/CordLogger.py b/src/test/utils/CordLogger.py
index 2d9242c..5f38c8c 100644
--- a/src/test/utils/CordLogger.py
+++ b/src/test/utils/CordLogger.py
@@ -9,7 +9,6 @@
try:
onosLog = OnosLog()
st, output = onosLog.get_log()
- onosLog.close()
except: pass
def tearDown(self):
@@ -17,7 +16,6 @@
try:
onosLog = OnosLog()
st, output = onosLog.get_log( ('ERROR','WARN') )
- onosLog.close()
if st and output:
log.info('\nTest %s has errors and warnings\n' %self._testMethodName)
log.info('%s' %output)