Skip to content

Commit 52e15e0

Browse files
committed
Replaced ternary if with or operator in tests
1 parent 080393a commit 52e15e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/e2e/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def cluster_lightspeed_config_dir() -> str:
104104
"""
105105
raw = os.getenv("E2E_LIGHTSPEED_CONFIG_DIR", _DEFAULT_CLUSTER_LIGHTSPEED_CONFIG_DIR)
106106
stripped = raw.strip()
107-
return stripped if stripped else _DEFAULT_CLUSTER_LIGHTSPEED_CONFIG_DIR
107+
return stripped or _DEFAULT_CLUSTER_LIGHTSPEED_CONFIG_DIR
108108

109109

110110
def cluster_lightspeed_config_path(filename: str) -> str:

0 commit comments

Comments
 (0)