Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
fix test_remove_expired_one_from_three
Browse files Browse the repository at this point in the history
  • Loading branch information
MacWale committed Mar 1, 2022
1 parent 9d3383a commit 26f46ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/documents/tests/test_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_remove_expired_one_from_three(self):
created=timezone.now(), modified=timezone.now(), expired=timezone.now()+timezone.timedelta(days=1))
doc3= Document.objects.create(title="test", content="my document", checksum="wow3", added=timezone.now(),
created=timezone.now(), modified=timezone.now())
self.assertEqual(tasks.remove_expired_documents(), "0 expired documents deleted.")
self.assertEqual(tasks.remove_expired_documents(), "1 expired documents deleted.")

def test_bulk_update_documents(self):
doc1 = Document.objects.create(title="test", content="my document", checksum="wow", added=timezone.now(),
Expand Down

0 comments on commit 26f46ec

Please sign in to comment.