From a49cd1796f0f9114efd19354032e5a889aabe258 Mon Sep 17 00:00:00 2001 From: pranavvadd Date: Sun, 18 Oct 2026 00:18:27 -0400 Subject: [PATCH] Fix test_invalid_track_config for required file_path_name TrackConfig gained a required file_path_name field in #60; the test hit a TypeError before reaching the lap-distance validation it checks. Co-Authored-By: Claude Sonnet 5.5 --- tests/test_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_config.py b/tests/test_config.py index 749c07e..25f3af9 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -28,9 +28,10 @@ def test_invalid_track_config(): with pytest.raises(ValueError, match="Lap distance must be greater than 0."): TrackConfig( name="test", + file_path_name="test", location="test", latitude=0, longitude=0, lap_distance_m=0, timezone="UTC", - ) \ No newline at end of file + )