MobilityData / mobility-feed-api

Apache License 2.0
8 stars 3 forks source link

Testing improvement: Verify that the latest dataset is really the latest #481

Open jcpitre opened 2 weeks ago

jcpitre commented 2 weeks ago

Describe the problem

In #448 we did a survey of missing automatic tests for the API. Here is one of these tests: We should verify that the latest dataset is really the latest. Also verify that there is only 1 latest dataset for a given feed.

Proposed solution

For a given feed, fetch all the datasets and verify that the latest returned is really the latest based on the download date

Alternatives you've considered

No response

Additional context

No response