Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge R4 branch to master
[ric-plt/e2mgr.git]
/
Automation
/
Tests
/
Scripts
/
find_rmr_message.py
diff --git
a/Automation/Tests/Scripts/find_rmr_message.py
b/Automation/Tests/Scripts/find_rmr_message.py
index
1d75e81
..
e75d9c6
100644
(file)
--- a/
Automation/Tests/Scripts/find_rmr_message.py
+++ b/
Automation/Tests/Scripts/find_rmr_message.py
@@
-15,6
+15,10
@@
# limitations under the License.
#
##############################################################################
# limitations under the License.
#
##############################################################################
+#
+# This source code is part of the near-RT RIC (RAN Intelligent Controller)
+# platform project (RICP).
+#
def verify_logs(directory,filename,mtype,meid):
def verify_logs(directory,filename,mtype,meid):
@@
-27,8
+31,12
@@
def verify_logs(directory,filename,mtype,meid):
for l in f:
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
return False