Skip to content

Commit

Permalink
Fixing unit test since we no longer filter out nonrev trips
Browse files Browse the repository at this point in the history
  • Loading branch information
devinmatte committed Nov 27, 2024
1 parent 284f998 commit bed9dc9
Show file tree
Hide file tree
Showing 3 changed files with 596 additions and 539 deletions.
2 changes: 1 addition & 1 deletion mbta-performance/chalicelib/lamp/tests/test_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_ingest_pq_file(self):
null_id_events = pq_df_after[pq_df_after["stop_id"].isna()]
self.assertEqual(added.shape, (3763, 17))
self.assertTrue(null_id_events.empty)
self.assertEqual(pq_df_after.shape, (16700, 17))
self.assertEqual(pq_df_after.shape, (17074, 17))
self.assertEqual(set(pq_df_after["service_date"].unique()), {"2024-02-07"})

def test__average_scheduled_headways(self):
Expand Down
Loading

0 comments on commit bed9dc9

Please sign in to comment.