Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
pereman2 committed Jan 27, 2021
1 parent 9996a7d commit 0b9cbfe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/structured_conf/test_structured_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1296,6 +1296,16 @@ def test_container_as_element_type_merge(
"ComplexList",
{"list": [[{"foo": User()}]]},
),
(
"ComplexList",
{
"list": ListConfig(
content=[[{"foo": "var"}]],
ref_type=List[List[Dict[str, str]]],
element_type=List[Dict[str, str]],
)
},
),
(
"ComplexDict",
{"dict": {"foo2": {"var2": ["invalid", 4]}}},
Expand Down

0 comments on commit 0b9cbfe

Please # to comment.