Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

env: fix logging to allure during binaries downloading #101

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "neofs-testlib"
version = "1.1.24"
version = "1.1.25"
description = "Building blocks and utilities to facilitate development of automated tests for NeoFS system"
readme = "README.md"
authors = [{ name = "NSPCC", email = "[email protected]" }]
Expand Down Expand Up @@ -50,7 +50,7 @@ line-length = 100
target-version = ["py310"]

[tool.bumpver]
current_version = "1.1.24"
current_version = "1.1.25"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
Expand Down
2 changes: 1 addition & 1 deletion src/neofs_testlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.24"
__version__ = "1.1.25"
2 changes: 1 addition & 1 deletion src/neofs_testlib/env/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,12 @@ def download_binaries(self):
for binary in binaries:
binary_path, binary_name = binary
if not os.path.isfile(binary_path):
neofs_binary_params = self.neofs_env_config["binaries"][binary_name]
allure_step_name = "Downloading "
allure_step_name += f" {neofs_binary_params['repo']}/"
allure_step_name += f"{neofs_binary_params['version']}/"
allure_step_name += f"{neofs_binary_params['file']}"
with allure.step(allure_step_name):
neofs_binary_params = self.neofs_env_config["binaries"][binary_name]
deploy_threads.append(
threading.Thread(
target=NeoFSEnv.download_binary,
Expand Down
Loading