Skip to content

Commit

Permalink
metrics text fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruchon, Matthew authored and Bruchon, Matthew committed Sep 24, 2024
1 parent 7d5cdcd commit c59fd8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/altrios/tests/test_metric_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ def test_dummy_sim(self):

for info in scenario_infos:
tkm = metric_calculator.calculate_freight_moved(info,'million tonne-mi')
self.assertEqual(tkm.filter(pl.col("Metric") == 'Mt-km').get_column("Units").len(), 1)
self.assertEqual(tkm.filter(pl.col("Metric") == pl.lit("Freight_Moved")).get_column("Units").len(), 1)

0 comments on commit c59fd8d

Please sign in to comment.