From db8655dd7ba205258fd4a10c59e19ae425361a1f Mon Sep 17 00:00:00 2001 From: Dmitrii Gridnev Date: Mon, 10 Nov 2025 15:05:27 +0300 Subject: [PATCH] feat: release version 4.1.5 with environment variable fixes - Updated version to 4.1.5 in pyproject.toml. - Fixed issues with test run ID, plan ID, and batch size not being set correctly from environment variables. - Updated changelog to reflect the new version and changes. This release improves the handling of environment variables, ensuring correct configuration for test runs. --- qase-python-commons/changelog.md | 5 +++-- qase-python-commons/pyproject.toml | 2 +- qase-python-commons/src/qase/commons/config.py | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/qase-python-commons/changelog.md b/qase-python-commons/changelog.md index bb008b44..c18e3616 100644 --- a/qase-python-commons/changelog.md +++ b/qase-python-commons/changelog.md @@ -1,8 +1,9 @@ -# qase-python-commons@4.1.4 +# qase-python-commons@4.1.5 ## What's new -- Added support input data for Gherkin steps. +- Fixed an issue where the test run ID and plan ID were not being set correctly from Environment Variables. +- Fixed an issue where the batch size was not being set correctly from Environment Variables. # qase-python-commons@4.1.3 diff --git a/qase-python-commons/pyproject.toml b/qase-python-commons/pyproject.toml index 738367f2..6e0d1635 100644 --- a/qase-python-commons/pyproject.toml +++ b/qase-python-commons/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "qase-python-commons" -version = "4.1.4" +version = "4.1.5" description = "A library for Qase TestOps and Qase Report" readme = "README.md" authors = [{name = "Qase Team", email = "support@qase.io"}] diff --git a/qase-python-commons/src/qase/commons/config.py b/qase-python-commons/src/qase/commons/config.py index 425abce8..c8a04b1c 100644 --- a/qase-python-commons/src/qase/commons/config.py +++ b/qase-python-commons/src/qase/commons/config.py @@ -276,10 +276,10 @@ def __load_env_config(self): self.config.testops.set_defect(value) if key == 'QASE_TESTOPS_PLAN_ID': - self.config.testops.plan.set_id(value) + self.config.testops.plan.set_id(int(value.strip())) if key == 'QASE_TESTOPS_RUN_ID': - self.config.testops.run.set_id(value) + self.config.testops.run.set_id(int(value.strip())) if key == 'QASE_TESTOPS_RUN_TITLE': self.config.testops.run.set_title(value) @@ -307,7 +307,7 @@ def __load_env_config(self): self.config.testops.run.external_link.set_link(value) if key == 'QASE_TESTOPS_BATCH_SIZE': - self.config.testops.batch.set_size(value) + self.config.testops.batch.set_size(int(value.strip())) if key == 'QASE_TESTOPS_CONFIGURATIONS_VALUES': # Parse configurations from environment variable