[RIC-431] REDESIGN - Modify Setup Flows to call AddNbIdentity | Modify UTs
[ric-plt/e2mgr.git] / Automation / Tests / Get-All-Nodes / Get_nodes_Add_nodes_and_get.robot
old mode 100755 (executable)
new mode 100644 (file)
index 0f77a7a..5bddb5a
 #   limitations under the License.
 #
 ##############################################################################
+#
+#   This source code is part of the near-RT RIC (RAN Intelligent Controller)
+#   platform project (RICP).
+#
 
 *** Settings ***
+Variables  ../Scripts/variables.py
 Suite Setup   Prepare Enviorment
 Library      Process
+Library     ../Scripts/getnodes.py
 Resource   ../Resource/resource.robot
 Resource   ../Resource/Keywords.robot
 Library     OperatingSystem
-Library     ${CURDIR}/getnodes.py
 Library     REST      ${url}
 
-
+*** Variables ***
+${url}  ${e2mgr_address}
 
 
 *** Test Cases ***
 Add nodes to redis db
+    Flush And Populate DB
     ${result}   getnodes.add
     Should Be Equal As Strings  ${result}  True
 
@@ -45,7 +52,9 @@ Get all node ids
     String   response body 1 globalNbId nbId     001234
 
 
-
+Prepare Logs For Tests
+    Remove log files
+    Save logs