From 9607396894c64468d7fa3040972ed9ef40abaf4c Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 1 Nov 2021 19:22:04 +0300 Subject: [PATCH] Fix config file in accounting test Instead of `rpc`, v0.26.0 requires `rpc-endpoint`. Signed-off-by: Alex Vanin --- robot/testsuites/integration/cli/accounting/balance.robot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/robot/testsuites/integration/cli/accounting/balance.robot b/robot/testsuites/integration/cli/accounting/balance.robot index f62dc54..c29dde5 100644 --- a/robot/testsuites/integration/cli/accounting/balance.robot +++ b/robot/testsuites/integration/cli/accounting/balance.robot @@ -47,7 +47,7 @@ CLI Accounting Balance Test Should Be Equal As Numbers ${OUTPUT.rc} 1 # Getting balance with control API - ${CONFIG_PATH} = Write Control API Config ${NEOFS_ENDPOINT} ${WIF} + ${CONFIG_PATH} = Write API Config ${NEOFS_ENDPOINT} ${WIF} ${OUTPUT} = Run Process neofs-cli accounting balance --config ${CONFIG_PATH} ... shell=True Should Be Equal As Numbers ${OUTPUT.stdout} ${DEPOSIT_AMOUNT} @@ -62,11 +62,11 @@ CLI Accounting Balance Test *** Keywords *** -Write Control API Config - [Documentation] Write YAML config for requesting NeoFS Control API via CLI +Write API Config + [Documentation] Write YAML config for requesting NeoFS API via CLI [Arguments] ${ENDPOINT} ${WIF} Set Local Variable ${PATH} ${ASSETS_DIR}/config.yaml - Create File ${PATH} rpc: ${ENDPOINT}\nwif: ${WIF} + Create File ${PATH} rpc-endpoint: ${ENDPOINT}\nwif: ${WIF} [Return] ${PATH}