Skip to content

Commit

Permalink
Update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
girarda committed Aug 11, 2022
1 parent 30920d2 commit e10d6b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def test_messages_stream_request_params(mock_pendulum_now):
stream = get_stream("messages")
state = {"last_event_time": 1558359000}
expected_params = {
"query": "last_event_time%20BETWEEN%20TIMESTAMP%20%222019-05-20T06%3A30%3A00Z%22%20AND%20TIMESTAMP%20%222021-12-31T16%3A00%3A00Z%22",
"limit": "1000",
"query": 'last_event_time BETWEEN TIMESTAMP "2019-05-20T06:30:00Z" AND TIMESTAMP "2021-12-31T16:00:00Z"',
"limit": 1000,
}
request_params = stream.retriever.request_params(
stream_state=state, stream_slice={"start_time": "2019-05-20T06:30:00Z", "end_time": "2021-12-31T16:00:00Z"}
Expand Down

0 comments on commit e10d6b9

Please sign in to comment.