clearer code
This commit is contained in:
parent
a69b5e2da7
commit
0cd2cd5add
1 changed files with 2 additions and 3 deletions
|
|
@ -2,9 +2,8 @@ from pytest_abra import Runner, Test
|
||||||
|
|
||||||
|
|
||||||
def condition_has_locale(env_config: dict[str, str]) -> bool:
|
def condition_has_locale(env_config: dict[str, str]) -> bool:
|
||||||
if "LOCALE" in env_config:
|
if "de" in env_config.get("LOCALE", ""):
|
||||||
if "de" in env_config["LOCALE"]:
|
return True
|
||||||
return True
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue