From c0b70d4e2e7cd402300097f5c032eb2d9caac319 Mon Sep 17 00:00:00 2001
From: mykhaly <yurkamykhalchuk@gmail.com>
Date: Wed, 31 Aug 2016 11:24:17 +0300
Subject: [PATCH] Rename suite variable `${api_version}` into `${API_VERSION}`

---
 op_robot_tests/tests_files/brokers/openprocurement_client.robot | 6 +++---
 op_robot_tests/tests_files/keywords.robot                       | 2 +-
 op_robot_tests/tests_files/resource.robot                       | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/op_robot_tests/tests_files/brokers/openprocurement_client.robot b/op_robot_tests/tests_files/brokers/openprocurement_client.robot
index 4a21896..d33e0f9 100644
--- a/op_robot_tests/tests_files/brokers/openprocurement_client.robot
+++ b/op_robot_tests/tests_files/brokers/openprocurement_client.robot
@@ -20,8 +20,8 @@ Library  openprocurement_client_helper.py
   [Arguments]  ${username}
   [Documentation]  Відкрити браузер, створити об’єкт api wrapper, тощо
   Log  ${API_HOST_URL}
-  Log  ${api_version}
-  ${api_wrapper}=  prepare_api_wrapper  ${USERS.users['${username}'].api_key}  ${API_HOST_URL}  ${api_version}
+  Log  ${API_VERSION}
+  ${api_wrapper}=  prepare_api_wrapper  ${USERS.users['${username}'].api_key}  ${API_HOST_URL}  ${API_VERSION}
   Set To Dictionary  ${USERS.users['${username}']}  client=${api_wrapper}
   Set To Dictionary  ${USERS.users['${username}']}  access_token=${EMPTY}
   ${id_map}=  Create Dictionary
@@ -85,7 +85,7 @@ Library  openprocurement_client_helper.py
   Set To Dictionary  ${tender['data']}  status=${status}
   ${tender}=  Call Method  ${USERS.users['${username}'].client}  patch_tender  ${tender}
   Log  ${tender}
-  Log  ${\n}${API_HOST_URL}/api/${api_version}/tenders/${tender.data.id}${\n}  WARN
+  Log  ${\n}${API_HOST_URL}/api/${API_VERSION}/tenders/${tender.data.id}${\n}  WARN
   Set To Dictionary  ${USERS.users['${username}']}   access_token=${access_token}
   Set To Dictionary  ${USERS.users['${username}']}   tender_data=${tender}
   Log   ${USERS.users['${username}'].tender_data}
diff --git a/op_robot_tests/tests_files/keywords.robot b/op_robot_tests/tests_files/keywords.robot
index 2882fab..a655b44 100644
--- a/op_robot_tests/tests_files/keywords.robot
+++ b/op_robot_tests/tests_files/keywords.robot
@@ -161,7 +161,7 @@ Get Broker Property By Username
 
 Створити артефакт
   ${artifact}=  Create Dictionary
-  ...      api_version=${api_version}
+  ...      api_version=${API_VERSION}
   ...      tender_uaid=${TENDER['TENDER_UAID']}
   ...      last_modification_date=${TENDER['LAST_MODIFICATION_DATE']}
   ...      mode=${MODE}
diff --git a/op_robot_tests/tests_files/resource.robot b/op_robot_tests/tests_files/resource.robot
index e95839b..e77d285 100644
--- a/op_robot_tests/tests_files/resource.robot
+++ b/op_robot_tests/tests_files/resource.robot
@@ -1,5 +1,5 @@
 *** Variables ***
 ${API_HOST_URL}  https://lb.api-sandbox.openprocurement.org
-${api_version}   2.3
+${API_VERSION}   2.3
 ${broker}        Quinta
 ${role}          viewer
--
libgit2 0.24.0