Light Mode
Dark Mode
SendGrid Spam Reports tests broken?

Hi there,

I have a feeling that there is a bug in the "SendGrid Spam Reports" test code.

https://github.com/oduvan/checkio-mission-sendgrid-spam-report/blob/master/verification/referee.py#L57 (line 57)

If we want to get records from start point (lesser timestamp) till end point (greater timestamp) shouldn't we filter them the following way?

    start_time <= a['created'] <= end_time
Created: July 8, 2019, 11:39 a.m.
Updated: July 9, 2019, 9:37 a.m.
0
18
User avatar
genadiik