Skip to content

Commit

Permalink
test for attribute docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Sep 17, 2024
1 parent 19f6364 commit 1d24501
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/dataconverter/test_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ def test_write_docs(writer):
test_nxs["/my_entry"].attrs["docs"]
== "This is a dummy NXDL to test out the dataconverter."
)
# assert test_nxs["/my_entry/definition"].attrs["version__docs"] == "This is the version of the definition."
assert (
test_nxs["/my_entry/definition"].attrs["version__docs"]
== "This is the version of the definition."
)
assert (
test_nxs["/my_entry/nxodd_name/int_value"].attrs["docs"]
== "A dummy entry for an int value."
Expand Down

0 comments on commit 1d24501

Please sign in to comment.