Skip to content

Commit

Permalink
Add tests dlite-validate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Nov 22, 2024
1 parent 1e7b029 commit aebcbdf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions bindings/python/scripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,21 @@ test_failure(
dlite-validate-invalid1-yaml
dlite-validate ../tests/entities/InvalidYaml1.yaml
)

# Test invalid yaml with ref-type
test_failure(
dlite-validate-ref-invalid1-yaml
dlite-validate ../tests/entities/Ref_invalid1.json
)

# Test valid yaml with invalid ref-type
test_failure(
dlite-validate-invalidref-yaml
dlite-validate ../tests/entities/ValidYaml_invalidref.yaml
)

# Test invalid yaml
test_failure(
dlite-validate-invalid2-yaml
dlite-validate ../tests/entities/InvalidYaml2.yaml
)

0 comments on commit aebcbdf

Please sign in to comment.