From 78797b66c06e0780229b65f0b7d15dc451c93d9a Mon Sep 17 00:00:00 2001 From: Jan Stavel Date: Fri, 12 Jan 2024 15:19:28 +0100 Subject: [PATCH] fix: more specific comment for env marker --- pytest_client_tools/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest_client_tools/plugin.py b/pytest_client_tools/plugin.py index dabc189..de8a61c 100644 --- a/pytest_client_tools/plugin.py +++ b/pytest_client_tools/plugin.py @@ -237,7 +237,7 @@ def pytest_configure(config): config.addinivalue_line("markers", "jira(id): test for jira cards") config.addinivalue_line( "markers", - "env(name): required environment for a test (it is a Dynaconf feature)", + "env(name): required Dynaconf environment for a test", ) locale.setlocale(locale.LC_ALL, "C.UTF-8") @@ -270,5 +270,5 @@ def pytest_runtest_setup(item): the_environment = _settings.get("env_for_dynaconf") or "development" if envnames and the_environment not in envnames: pytest.skip( - f"test requires a dynaconf environment to be one of those: {envnames}", + f"test requires a Dynaconf environment to be one of those: {envnames}", )