Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
amickan committed May 31, 2024
1 parent f3236a7 commit 7ff8f65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/tests/archives_tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,9 @@ def test_archive_item_set_title():
archive=ArchiveFactory(),
title=ai0.title,
)


@pytest.mark.django_db
def test_archive_item_editable():
ai = ArchiveItemFactory()
assert ai.is_editable

0 comments on commit 7ff8f65

Please sign in to comment.