X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FScripts%2Ffind_rmr_message.py;h=e75d9c68da04a9d587a227d49e1dfd161ad1e380;hb=7000880c4031e607a2fe36046fd097f486476a84;hp=0253cebdb89ef338d42a260f80db30d69e9c2ec0;hpb=15d3982b5eda43a5b5b9054d7ecb026448c6ca16;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Scripts/find_rmr_message.py b/Automation/Tests/Scripts/find_rmr_message.py index 0253ceb..e75d9c6 100644 --- a/Automation/Tests/Scripts/find_rmr_message.py +++ b/Automation/Tests/Scripts/find_rmr_message.py @@ -31,8 +31,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