Skip to content

Commit

Permalink
✅ Really fix the testJun20*load ground truth
Browse files Browse the repository at this point in the history
Before this, we were only checking for the start and end times, so we didn't need alt entries.
But we now check for the locations as well
ce6d472

And those apparently differ

Fixing them and creating `alt` checks for all ground truth

```
======================================================================
FAIL: testCompositeTripIncrementalLastPlaceMatches (analysisTests.intakeTests.TestPipelineRealData.TestPipelineRealData)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/e-mission-server/e-mission-server/emission/tests/analysisTests/intakeTests/TestPipelineRealData.py", line 885, in testCompositeTripIncrementalLastPlaceMatches
    self.compare_composite_objects(composite_trips[i], expected_trips[i])
  File "/home/runner/work/e-mission-server/e-mission-server/emission/tests/analysisTests/intakeTests/TestPipelineRealData.py", line 720, in compare_composite_objects
    self.assertEqual([l['data']['ts'] for l in  ct['data']['locations']],
AssertionError: Lists differ: [1681[348 chars]1681437403.402, 1681437433.402, 1681437463.402, 1681437479.975] != [1681[348 chars]1681437403.402, 1681437419.975, 1681437450.978, 1681437479.975]

First differing element 23:
1681437433.402
1681437419.975
```
  • Loading branch information
shankari committed Jun 21, 2023
1 parent 7aaf5e8 commit f4dce6a
Show file tree
Hide file tree
Showing 3 changed files with 28,760 additions and 1,374 deletions.
Loading

0 comments on commit f4dce6a

Please sign in to comment.