Skip to content

Commit

Permalink
fix: more specific comment for env marker
Browse files Browse the repository at this point in the history
  • Loading branch information
jstavel committed Jan 12, 2024
1 parent 00ae6f1 commit 78797b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest_client_tools/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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}",
)

0 comments on commit 78797b6

Please sign in to comment.