Skip to content

Commit

Permalink
Fix flakey test
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Nov 15, 2024
1 parent b1a1ba2 commit 38a0f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/test/api/test_invitation.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,5 +357,5 @@ def test_resend_api_invite(self):
self.assertEqual(1, len(outbox))
expiry_date = datetime.datetime.fromtimestamp(res["invitation"]["expiry_date"])
diff = expiry_date - datetime.datetime.now()
self.assertEqual(14, diff.days)
self.assertTrue(diff.days >= 14)
self.assertTrue("Reminder: you have been invited by" in outbox[0].html)

0 comments on commit 38a0f24

Please sign in to comment.