Skip to content

Commit

Permalink
Add test for item hashability
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAnotherArchivist committed Mar 21, 2024
1 parent 14eb6d3 commit 29272b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,3 +706,7 @@ def test_modify_metadata(nasa_item, nasa_metadata):
secret_key='b')
# Test that item re-initializes
assert nasa_item.metadata['title'] == 'new title'


def test_hash_item(nasa_metadata, nasa_item, session):
assert hash(nasa_item)

0 comments on commit 29272b1

Please sign in to comment.