aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/ytest.py
diff options
context:
space:
mode:
authorv-korovin <v-korovin@yandex-team.ru>2022-02-10 16:46:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:20 +0300
commitc4e0c5d2f245076d63ccff1004c755ca0cc5d27b (patch)
tree0c6b0402dc17d5d1beffbe9350d2d6802207e123 /build/plugins/ytest.py
parentb86334f8eb651237aceaa035bebb519893d6d077 (diff)
downloadydb-c4e0c5d2f245076d63ccff1004c755ca0cc5d27b.tar.gz
Restoring authorship annotation for <v-korovin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'build/plugins/ytest.py')
-rw-r--r--build/plugins/ytest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/plugins/ytest.py b/build/plugins/ytest.py
index 8970837f0f..7ebf5c8672 100644
--- a/build/plugins/ytest.py
+++ b/build/plugins/ytest.py
@@ -736,11 +736,11 @@ def onadd_pytest_bin(unit, *args):
)
runner_bin = kws.get('RUNNER_BIN', [None])[0]
- test_type = 'py3test.bin' if (unit.get("PYTHON3") == 'yes') else "pytest.bin"
-
- add_test_to_dart(unit, test_type, runner_bin=runner_bin)
+ test_type = 'py3test.bin' if (unit.get("PYTHON3") == 'yes') else "pytest.bin"
+ add_test_to_dart(unit, test_type, runner_bin=runner_bin)
+
def add_test_to_dart(unit, test_type, binary_path=None, runner_bin=None):
if unit.get("TIDY") == "yes":
# graph changed for clang_tidy tests
@@ -1047,7 +1047,7 @@ def onsetup_run_python(unit):
def get_canonical_test_resources(unit):
unit_path = unit.path()
- canon_data_dir = os.path.join(unit.resolve(unit_path), CANON_DATA_DIR_NAME, unit.get('CANONIZE_SUB_PATH') or '')
+ canon_data_dir = os.path.join(unit.resolve(unit_path), CANON_DATA_DIR_NAME, unit.get('CANONIZE_SUB_PATH') or '')
try:
_, dirs, files = next(os.walk(canon_data_dir))