Skip to content

Commit

Permalink
Update test_notice_repository.py
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainOfHacks committed Mar 15, 2022
1 parent 2dd8f94 commit 4d60929
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/e2e/data_manager/test_notice_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ def test_notice_repository_create(mongodb_client):
result_notices = list(notice_repository.list())
assert result_notices
assert len(result_notices) == 1
with pytest.raises(Exception):
notice_repository.add(notice)
notice_repository.add(notice)
notice.original_metadata = TEDMetadata(**{"AA": "Updated metadata"})
notice_repository.update(notice)
result_notice = notice_repository.get(reference=NOTICE_TED_ID)
Expand Down

0 comments on commit 4d60929

Please sign in to comment.