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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user