Remove common_helpers.py and update tests using it
[osm/tests.git] / robot-systest / testsuite / basic_01-crud_operations_on_vim_targets.robot
index eb35010..cdfe0bd 100644 (file)
@@ -15,11 +15,14 @@ Documentation   [BASIC-01] CRUD operations on VIM targets.
 ...             All tests will be performed over an Openstack VIM, and the credentials will be loaded from clouds.yaml file.
 
 Resource   %{ROBOT_DEVOPS_FOLDER}/lib/vim_lib.robot
+Resource   %{ROBOT_DEVOPS_FOLDER}/lib/prometheus_lib.robot
 
 Variables   %{ROBOT_DEVOPS_FOLDER}/resources/basic_01-crud_operations_on_vim_targets_data.py
 
 Force Tags   basic_01   cluster_main   daily   regression
 
+Suite Setup   Run Keyword And Ignore Error   Suite Preparation
+
 
 *** Test Cases ***
 Create VIM Target Basic
@@ -69,3 +72,9 @@ Delete VIM Target By ID
     Should Be Equal As Strings   ${vim_account_id}   ${created_vim_account_id}
     Delete VIM Target   ${vim_account_id}
 
+
+*** Keywords ***
+Suite Preparation
+    [Documentation]   Test Suite Preparation: Setting Prometheus Testsuite Variables
+
+    Set Testsuite Prometheus Variables