Skip to content

Commit

Permalink
added addition validate() test
Browse files Browse the repository at this point in the history
  • Loading branch information
RayPlante committed Aug 26, 2019
1 parent 3a63454 commit c748d44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/nistoar/nerdm/tests/test_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ def test_validate(self):

self.assertEqual(vld8.validate(data, schemadir), [])

del data['title']
errs = vld8.validate(data, schemadir, strict=False)
self.assertGreater(len(errs), 0)






Expand Down

0 comments on commit c748d44

Please sign in to comment.