[RICPLT-2523] Add Setup automation tests...
[ric-plt/e2mgr.git] / Automation / Tests / Scripts / find_rmr_message.py
index 1d75e81..f4ab516 100644 (file)
@@ -27,8 +27,12 @@ def verify_logs(directory,filename,mtype,meid):
 
     for l in f:
 
-        if l.find(mtype) > 0 and l.find(meid) > 0:
-            return True
+        if (meid is not None):
+            if l.find(mtype) > 0 and l.find(meid) > 0:
+                return True
+        else:
+            if l.find(mtype) > 0:
+                return True
 
     return False