From b4e4d01db93753a957d929955d7cd1b05c14f1ef Mon Sep 17 00:00:00 2001 From: AenEnlil Date: Tue, 14 Oct 2025 13:49:40 +0300 Subject: [PATCH 1/2] added dotenv support --- README.md | 2 +- pyproject.toml | 3 ++- pytestomatio/testomatio/testRunConfig.py | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b9ba012..bb63980 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ Note: Test id should be started from letter "T" ### Configuration with environment variables -You can use environment variable to control certain features of testomat.io +You can use environment variable to control certain features of testomat.io. Environment variables can be either passed inline, or from .env file. #### Basic configuration | Env variable | What it does | Examples | diff --git a/pyproject.toml b/pyproject.toml index 5cae11c..cebfd1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,8 @@ dependencies = [ "boto3>=1.35.0", "libcst>=1.4.0", "commitizen>=4.8.3", - "autopep8>=2.3.2" + "autopep8>=2.3.2", + "python-dotenv>=1.1.1" ] authors = [ diff --git a/pytestomatio/testomatio/testRunConfig.py b/pytestomatio/testomatio/testRunConfig.py index 5496254..630c47b 100644 --- a/pytestomatio/testomatio/testRunConfig.py +++ b/pytestomatio/testomatio/testRunConfig.py @@ -2,9 +2,11 @@ import datetime as dt import tempfile from pytestomatio.utils.helper import safe_string_list, parse_env_value +from dotenv import load_dotenv from typing import Optional TESTOMATIO_TEST_RUN_LOCK_FILE = ".testomatio_test_run_id_lock" +load_dotenv() class TestRunConfig: def __init__(self): From 6d03a858c350308eedd8844ae03655815042199d Mon Sep 17 00:00:00 2001 From: AenEnlil Date: Tue, 14 Oct 2025 13:50:38 +0300 Subject: [PATCH 2/2] bump: version 2.10.2 -> 2.10.3b6 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cebfd1b..3c4267d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ version_provider = "pep621" update_changelog_on_bump = false [project] name = "pytestomatio" -version = "2.10.2" +version = "2.10.3b6" dependencies = [