Skip to content

Commit

Permalink
✅ Change the test case to use the alt ground truth
Browse files Browse the repository at this point in the history
Due to additional checks in ce6d472
we needed additional alt ground truth for the GIS branch because the location timestamps were different
f4dce6a

Here, we switch to using that alt ground truth
  • Loading branch information
shankari committed Jun 21, 2023
1 parent f4dce6a commit 517b365
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ def testCompositeTripIncrementalLastPlaceMatches(self):

ts = esta.TimeSeries.get_time_series(self.testUUID)
composite_trips = list(ts.find_entries(["analysis/composite_trip"], None))
with open(dataFile_1+".before-user-inputs.expected_composite_trips") as expectation:
with open(dataFile_1+".before-user-inputs.alt.expected_composite_trips") as expectation:
expected_trips = json.load(expectation, object_hook = esj.wrapped_object_hook)
self.assertEqual(len(composite_trips), len(expected_trips))
for i in range(len(composite_trips)):
Expand All @@ -893,7 +893,7 @@ def testCompositeTripIncrementalLastPlaceMatches(self):

# They should all match the final place
composite_trips = list(ts.find_entries(["analysis/composite_trip"], None))
with open(dataFile_1+".all-match-last-place.expected_composite_trips") as expectation:
with open(dataFile_1+".all-match-last-place.alt.expected_composite_trips") as expectation:
expected_trips = json.load(expectation, object_hook = esj.wrapped_object_hook)
self.assertEqual(len(composite_trips), len(expected_trips))
for i in range(len(composite_trips)):
Expand Down

0 comments on commit 517b365

Please sign in to comment.