Skip to content

Commit

Permalink
Fix an integration bug
Browse files Browse the repository at this point in the history
  • Loading branch information
satrana42 committed Sep 18, 2024
1 parent 43d2c13 commit ab7e18b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fennel/client_tests/test_date_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,9 @@ def test_date_type(client):
)
assert response.status_code == requests.codes.OK, response.json()

now = datetime.now(timezone.utc)
# microseconds are dropped when df is converted to json before
# passing to backend
now = datetime.now(timezone.utc).replace(microsecond=0)
now_l1d = now - timedelta(days=1)
now_date = now.date()
now_l1d_date = now_l1d.date()
Expand Down

0 comments on commit ab7e18b

Please sign in to comment.