Moves test configurations to config file.

This commit is contained in:
2021-05-15 13:56:58 +03:00
parent 1bd281f2a2
commit 07fef8df40
3 changed files with 4 additions and 25 deletions

View File

@@ -1,6 +0,0 @@
name: values to be included/reused in tests.
description: used for describing utils used across the entire test suite.
variables:
test_token_symbol: "{tavern.env_vars.TEST_TOKEN_SYMBOL}"
test_gift_value: "{tavern.env_vars.TEST_GIFT_VALUE}"
test_server_url: "{tavern.env_vars.TEST_SERVER_URL}"

View File

@@ -1,21 +1,2 @@
#!/bin/bash
if [ -z "$TEST_SERVER_URL" ];
then
echo "The test server url is not set !"
exit 1
fi
if [ -z "$TEST_GIFT_VALUE" ];
then
echo "The test gift value is not set !"
exit 1
fi
if [ -z "$TEST_TOKEN_SYMBOL" ];
then
echo "The test token symbol is not set !"
exit 1
fi
PYTHONPATH=. tavern-ci test_accounts.tavern.yaml --debug -vv --log-level debug -s --log-cli-level debug