refactoring #13

Merged
dan merged 32 commits from refactoring into dev 2023-12-08 18:17:35 +01:00
Showing only changes of commit 0cd2cd5add - Show all commits

View file

@ -2,9 +2,8 @@ from pytest_abra import Runner, Test
def condition_has_locale(env_config: dict[str, str]) -> bool:
if "LOCALE" in env_config:
if "de" in env_config["LOCALE"]:
return True
if "de" in env_config.get("LOCALE", ""):
return True
return False