Skip to content

Commit

Permalink
dap.review.nerdm: add topic to list of required items
Browse files Browse the repository at this point in the history
  • Loading branch information
RayPlante committed Oct 30, 2024
1 parent 11b4cff commit 92c2c88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/nistoar/midas/dap/review/nerdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ def test_simple_props(self, nerd, want=ALL, out=None, **kw):
t = self._err("1.1#keyword", f"A value for keyword is required")
t = out._add_applied(t, bool(nerd.get(prop)), f"Add some keywords")

t = self._err("1.1#topic", f"At least one NIST research topic is required")
t = out._add_applied(t, bool(nerd.get(prop)), f"Add some research topics")

return out

0 comments on commit 92c2c88

Please sign in to comment.