RIC-475 - E2M E2T init unit tests
[ric-plt/e2mgr.git] / Automation / Tests / Resource / Keywords.robot
index ce07adc..1f453df 100644 (file)
@@ -31,7 +31,17 @@ Get Request node b gnb
     Sleep    1s
     GET      ${getNodeb}
 
+Update Ran request
+    Sleep  1s
+    PUT    ${update_gnb_url}   ${update_gnb_body}
 
+Set General Configuration request
+    Sleep  1s
+    PUT    ${set_general_configuration}   ${set_general_configuration_body}
+
+Update Ran request not valid
+    Sleep  1s
+    PUT    ${update_gnb_url}   ${update_gnb_body_notvalid}
 
 Remove log files
     Remove File  ${EXECDIR}/${gnb_log_filename}
@@ -114,5 +124,12 @@ Start RoutingManager Simulator
 Stop RoutingManager Simulator
     Run And Return Rc And Output    ${stop_routingmanager_sim}
 
+Restart simulator with less docker
+    Run And Return Rc And Output    ${restart_simu}
+    ${result}=  Run And Return Rc And Output     ${docker_command}
+    Should Be Equal As Integers    ${result[1]}    ${docker_number-1}
 
+Flush And Populate DB
+    ${flush}  cleanup_db.flush
+    Sleep  2s