[#316] Move variable under package for single repo runs #316

Merged
abereziny merged 1 commit from abereziny/frostfs-testcases:feature-abspath-for-files into master 2024-10-30 12:30:27 +00:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit 09acd6f283 - Show all commits

View file

@ -1,3 +0,0 @@
import os
TESTS_BASE_PATH = os.path.dirname(os.path.relpath(__file__))

View file

@ -0,0 +1,3 @@
import os
TESTS_BASE_PATH = os.path.dirname(os.path.relpath(__file__))

View file

@ -1,8 +1,8 @@
import os
from ... import TESTS_BASE_PATH
from .. import TESTS_BASE_PATH
TEST_CYCLES_COUNT = int(os.getenv("TEST_CYCLES_COUNT", "1"))
DEVENV_PATH = os.getenv("DEVENV_PATH", os.path.join("..", "frostfs-dev-env"))
S3_POLICY_FILE_LOCATION = os.path.join(TESTS_BASE_PATH, "pytest_tests/resources/files/policy.json")
S3_POLICY_FILE_LOCATION = os.path.join(TESTS_BASE_PATH, "resources/files/policy.json")