HomeSoftware Heritage

Add test for origin_visit_get_latest in presence of mismatched id and date…

Description

Add test for origin_visit_get_latest in presence of mismatched id and date orders

It was unclear this actually worked; I had to write this test to realize
the code wasn't buggy.

Also replaced a conditional that is always False (because Cassandra
always returns results in the order of the clustering key) with an
assertion, so the code is less confusing.