diff --git a/bin/generate_validation_config_file.py b/bin/generate_validation_config_file.py index 261f9f15fb..bcf044c269 100644 --- a/bin/generate_validation_config_file.py +++ b/bin/generate_validation_config_file.py @@ -39,7 +39,7 @@ def generate_config(input_file): new_field["validation_action"] = field["validation_action"] new_struct["fields"].append(new_field) items.append(new_struct) - return items + return {"auto_generated_structs": items} def generate_file(input_file, output_file): diff --git a/test/test_validation.jl b/test/test_validation.jl index abd9598c0c..1c543f0977 100644 --- a/test/test_validation.jl +++ b/test/test_validation.jl @@ -178,7 +178,7 @@ end @test_throws(PSY.InvalidValue, add_component!(sys, badline)) ) end -#= + # disabled until serialization is updated @testset "Test field validation after deserialization" begin nodes = nodes5() @@ -222,4 +222,4 @@ end rm(path) end end -=# +