Adjust expectations of test_foreach.py unit tests
This commit is contained in:
parent
9f83b654d7
commit
946fbef8e7
@ -170,32 +170,32 @@ seen_index_vars = set()
|
|||||||
ForEachState.primary_color,
|
ForEachState.primary_color,
|
||||||
display_primary_colors,
|
display_primary_colors,
|
||||||
{
|
{
|
||||||
"iterable_state": f"{ForEachState.get_full_name()}.primary_color",
|
"iterable_state": f"Object.entries({ForEachState.get_full_name()}.primary_color)",
|
||||||
"iterable_type": "dict",
|
"iterable_type": "list",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
ForEachState.color_with_shades,
|
ForEachState.color_with_shades,
|
||||||
display_color_with_shades,
|
display_color_with_shades,
|
||||||
{
|
{
|
||||||
"iterable_state": f"{ForEachState.get_full_name()}.color_with_shades",
|
"iterable_state": f"Object.entries({ForEachState.get_full_name()}.color_with_shades)",
|
||||||
"iterable_type": "dict",
|
"iterable_type": "list",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
ForEachState.nested_colors_with_shades,
|
ForEachState.nested_colors_with_shades,
|
||||||
display_nested_color_with_shades,
|
display_nested_color_with_shades,
|
||||||
{
|
{
|
||||||
"iterable_state": f"{ForEachState.get_full_name()}.nested_colors_with_shades",
|
"iterable_state": f"Object.entries({ForEachState.get_full_name()}.nested_colors_with_shades)",
|
||||||
"iterable_type": "dict",
|
"iterable_type": "list",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
ForEachState.nested_colors_with_shades,
|
ForEachState.nested_colors_with_shades,
|
||||||
display_nested_color_with_shades_v2,
|
display_nested_color_with_shades_v2,
|
||||||
{
|
{
|
||||||
"iterable_state": f"{ForEachState.get_full_name()}.nested_colors_with_shades",
|
"iterable_state": f"Object.entries({ForEachState.get_full_name()}.nested_colors_with_shades)",
|
||||||
"iterable_type": "dict",
|
"iterable_type": "list",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
|
Loading…
Reference in New Issue
Block a user