Skip to content

Commit

Permalink
fix: intermittently failing match_pledge test (#9729)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdixon authored Nov 25, 2021
1 parent d28af18 commit 5917c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/grants/tests/models/test_match_pledge.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_match_pledge_has_end_date(self):

assert hasattr(match_pledge, 'end_date')
assert isinstance(match_pledge.end_date, datetime)
assert match_pledge.end_date.replace(microsecond=0) == next_month.replace(microsecond=0)
assert match_pledge.end_date.replace(microsecond=0, second=0) == next_month.replace(microsecond=0, second=0)

def test_match_pledge_has_data_attribute(self):
"""Test 'data' attribute."""
Expand Down

0 comments on commit 5917c7e

Please sign in to comment.