Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Aug 14, 2024
1 parent b3042be commit 171cc67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1106,13 +1106,13 @@ def test_save(caplog) -> None:
)
assert (
caplog.messages[0]
== "The data entry corresponding to /ENTRY[entry]/SAMPLE[sample]/name is required and "
"hasn't been supplied by the reader."
== "WARNING: The data entry corresponding to /ENTRY[entry]/SAMPLE[sample]/name is "
"required and hasn't been supplied by the reader."
)
assert (
caplog.messages[1]
== "Field /ENTRY[entry]/INSTRUMENT[instrument]/undocumented_field written without "
"documentation."
== "WARNING: Field /ENTRY[entry]/INSTRUMENT[instrument]/undocumented_field written "
"without documentation."
)
os.remove("output.nxs")
os.remove("temp_eln.yaml")
Expand Down

0 comments on commit 171cc67

Please sign in to comment.