File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,14 @@ def fixture_filled_test_data(template, tmp_path):
356356 TEMPLATE , "/ENTRY[my_entry]/OPTIONAL_group[my_group]/optional_field" , 1
357357 ),
358358 ("" ),
359- id = "required-field-not-provided-in-optional-group" ,
359+ id = "required-field-not-provided-in-variadic-optional-group" ,
360+ ),
361+ pytest .param (
362+ alter_dict (
363+ TEMPLATE , "/ENTRY[my_entry]/OPTIONAL_group[my_group]/required_field" , 1
364+ ),
365+ ("" ),
366+ id = "required-field-provided-in-variadic-optional-group" ,
360367 ),
361368 pytest .param (
362369 alter_dict (
@@ -422,6 +429,7 @@ def test_validate_data_dict(
422429 "int-instead-of-chars" ,
423430 "link-dict-instead-of-bool" ,
424431 "opt-group-completely-removed" ,
432+ "required-field-provided-in-variadic-optional-group" ,
425433 ):
426434 helpers .validate_data_dict (template , data_dict , nxdl_root )
427435 # Missing required fields caught by logger with warning
You can’t perform that action at this time.
0 commit comments