[#316] Move variable under package for single repo runs
Signed-off-by: a.berezin <a.berezin@yadro.com>
This commit is contained in:
parent
04378b992c
commit
1825aeebbf
3 changed files with 5 additions and 5 deletions
|
@ -1,3 +0,0 @@
|
||||||
import os
|
|
||||||
|
|
||||||
TESTS_BASE_PATH = os.path.dirname(os.path.relpath(__file__))
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
import os
|
||||||
|
|
||||||
|
TESTS_BASE_PATH = os.path.dirname(os.path.relpath(__file__))
|
|
@ -1,8 +1,8 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from ... import TESTS_BASE_PATH
|
from .. import TESTS_BASE_PATH
|
||||||
|
|
||||||
TEST_CYCLES_COUNT = int(os.getenv("TEST_CYCLES_COUNT", "1"))
|
TEST_CYCLES_COUNT = int(os.getenv("TEST_CYCLES_COUNT", "1"))
|
||||||
|
|
||||||
DEVENV_PATH = os.getenv("DEVENV_PATH", os.path.join("..", "frostfs-dev-env"))
|
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")
|
||||||
|
|
Loading…
Reference in a new issue