Skip to content

Commit

Permalink
regenerate 'expected_confirmed_trip' snapshots with ble_sensed_summary
Browse files Browse the repository at this point in the history
`ble_sensed_summary` is a new property for confirmed trips, so tests fail on the old snapshots. New generated snapshots are the same, but with different uuid and oids, and with empty ble_sensed_summary values in each confirmed trip.
Currently we don't have any tests with BLE sensor data, so there are no tests that have a `ble_sensed_summary` that is filled in. Coming later...
  • Loading branch information
JGreenlee committed May 3, 2024
1 parent c0c8d83 commit 8bca1fe
Show file tree
Hide file tree
Showing 4 changed files with 405 additions and 313 deletions.
2 changes: 2 additions & 0 deletions emission/tests/analysisTests/userInputTests/TestUserInput.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ def compare_confirmed_objs_result(self, result_dicts, expect_dicts, manual_keys
self.assertEqual(rt.data["inferred_section_summary"], et.data["inferred_section_summary"])
if "cleaned_section_summary" in et.data:
self.assertEqual(rt.data["cleaned_section_summary"], et.data["cleaned_section_summary"])
if 'ble_sensed_summary' in et.data:
self.assertEqual(rt.data["ble_sensed_summary"], et.data["ble_sensed_summary"])
logging.debug(20 * "=")

def compare_section_result(self, result, expect):
Expand Down
Loading

0 comments on commit 8bca1fe

Please sign in to comment.