From b94c106656b2fd20b4f0278a360545743f225775 Mon Sep 17 00:00:00 2001 From: Aleskei Chetaev Date: Tue, 14 Feb 2023 09:04:29 +0100 Subject: [PATCH] Revert removing venv environment files Signed-off-by: Aleskei Chetaev --- .gitignore | 3 +++ requirements.txt | 1 - venv/local-pytest/environment.sh | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 venv/local-pytest/environment.sh diff --git a/.gitignore b/.gitignore index acd6b6a1..a70de079 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,9 @@ .vscode .idea +.DS_Store + + # ignore test results **/log.html **/output.xml diff --git a/requirements.txt b/requirements.txt index ce000f98..ef2bb74d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,7 +30,6 @@ mmh3==3.0.0 multidict==6.0.2 mypy==0.950 mypy-extensions==0.4.3 -neo-mamba==1.0.0 neofs-testlib==1.1.1 netaddr==0.8.0 packaging==21.3 diff --git a/venv/local-pytest/environment.sh b/venv/local-pytest/environment.sh new file mode 100644 index 00000000..ff17637b --- /dev/null +++ b/venv/local-pytest/environment.sh @@ -0,0 +1,8 @@ +# DevEnv variables +export NEOFS_MORPH_DISABLE_CACHE=true +export DEVENV_PATH="${DEVENV_PATH:-${VIRTUAL_ENV}/../../neofs-dev-env}" +pushd $DEVENV_PATH > /dev/null +export `make env` +popd > /dev/null + +export PYTHONPATH=${PYTHONPATH}:${VIRTUAL_ENV}/../robot/resources/lib/:${VIRTUAL_ENV}/../robot/resources/lib/python_keywords:${VIRTUAL_ENV}/../robot/resources/lib/robot:${VIRTUAL_ENV}/../robot/variables:${VIRTUAL_ENV}/../pytest_tests/helpers:${VIRTUAL_ENV}/../pytest_tests/steps:${VIRTUAL_ENV}/../pytest_tests/resources