Websocket test

Resolves openbmc/openbmc-test-automation#1219

Signed-off-by: Steven Sombar <ssombar@us.ibm.com>
Change-Id: Ic756636ac97c5219ccca4431b60f1eb376659285
diff --git a/lib/logging_utils.robot b/lib/logging_utils.robot
index 11b44ba..b4c4076 100644
--- a/lib/logging_utils.robot
+++ b/lib/logging_utils.robot
@@ -204,9 +204,16 @@
     [Return]  ${members}
 
 
+Get Number Of Event Logs
+    [Documentation]  Return the number of EventLog members.
+
+    ${members}=  Get Event Logs
+    ${num_members}=  Get Length  ${members}
+    [Return]  ${num_members}
+
+
 Redfish Purge Event Log
     [Documentation]  Do Redfish EventLog purge.
 
     Redfish.Post  ${EVENT_LOG_URI}Actions/LogService.Reset
     ...  valid_status_codes=[${HTTP_NO_CONTENT}]
-