Skip to content

Commit 10f0054

Browse files
committed
test: do not set host_os dimension to None
`None` is an invalid value, and this caused A/B-Tests to be impossible to run locally. Signed-off-by: Patrick Roy <[email protected]>
1 parent 4cfcc3f commit 10f0054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/framework/properties.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ def get_host_os(kv: str = None):
4848
kv = platform.release()
4949
parts = kv.split("-")
5050
if len(parts) < 2:
51-
return None
51+
return kv
5252
misc = parts[1].split(".")
5353
if len(misc) > 2 and misc[2] in {"amzn2", "amzn2023"}:
5454
return misc[2]
55-
return None
55+
return kv
5656

5757

5858
class GlobalProps:

0 commit comments

Comments
 (0)