summaryrefslogtreecommitdiffstats
path: root/oti/event-handler/otihandler/onap
diff options
context:
space:
mode:
authorSchmalzried, Terry (ts862m) <ts862m@att.com>2020-02-28 12:20:08 -0500
committerSchmalzried, Terry (ts862m) <ts862m@att.com>2020-03-04 18:50:37 -0500
commit2f2980df45d2d08c7a48c4a744bd893828f725f9 (patch)
treed97a7ef1fd66f702a37757bef61491122141d3a8 /oti/event-handler/otihandler/onap
parent38808a23e76deb763a39f457a15b2ef56282b609 (diff)
Initial unit test coverage
Issue-ID: DCAEGEN2-1922 Change-Id: Ibd50c9d87583244c0e82a9f050e0e795cde72f27 Signed-off-by: Schmalzried, Terry (ts862m) <ts862m@att.com>
Diffstat (limited to 'oti/event-handler/otihandler/onap')
-rw-r--r--oti/event-handler/otihandler/onap/CommonLogger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oti/event-handler/otihandler/onap/CommonLogger.py b/oti/event-handler/otihandler/onap/CommonLogger.py
index 644534d..3b5b477 100644
--- a/oti/event-handler/otihandler/onap/CommonLogger.py
+++ b/oti/event-handler/otihandler/onap/CommonLogger.py
@@ -781,7 +781,7 @@ class CommonLogger:
print("error creating %s directory to hold %s logfile: %s" %(folder, filename, str(err)))
sys.exit(2)
-if __name__ == "__main__":
+if __name__ == "__main__": # pragma: no cover
def __checkOneTime(line):
format = r'[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}[+]00:00[|]'