tests/f2: allow string lists as config values

not all values are sets. the search path for example is definitely ordered.

Change-Id: Ice94fe324319731ae3a83c757768c48576ba8b36
This commit is contained in:
eldritch horrors
2026-01-02 13:01:14 +00:00
parent bdd6bd5e38
commit a7bd1a8a80
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -11,6 +11,7 @@ def test_list_type_valid():
def test_list_type_valid_multi_type():
assert is_value_of_type([1, "a", 2], list[int | str])
assert is_value_of_type([1, "a", 2], set[str | int] | list[int | str])
def test_list_type_invalid_single_fail():