Add test for parsing max_speed with raw_speed user preference setting

This commit is contained in:
Joshua Taillon
2023-05-19 23:08:12 -06:00
parent a98057c936
commit 7e00e79386
3 changed files with 48 additions and 2 deletions

View File

@ -54,7 +54,8 @@ class TestStoppedSpeedThreshold:
)
assert gpx_track_segment_mock.call_args_list[0] == call(
stopped_speed_threshold=expected_threshold
stopped_speed_threshold=expected_threshold,
raw=False
)
gpx_track_segment_mock.assert_called_with(
expected_threshold, # stopped_speed_threshold
@ -88,7 +89,8 @@ class TestStoppedSpeedThreshold:
)
assert gpx_track_segment_mock.call_args_list[0] == call(
stopped_speed_threshold=expected_threshold
stopped_speed_threshold=expected_threshold,
raw=False
)
gpx_track_segment_mock.assert_called_with(
expected_threshold, # stopped_speed_threshold