@@ -103,7 +103,7 @@ def test_get_subject_color_map_topics_share_exam_color():
103103 {"date" : date (2026 , 6 , 1 ), "subject" : "Ch1" , "hours" : 2.0 , "type" : "initial" },
104104 {"date" : date (2026 , 6 , 1 ), "subject" : "Ch2" , "hours" : 2.0 , "type" : "initial" },
105105 )
106- color_map , exam_colors = get_subject_color_map (schedule , exam_list )
106+ color_map , exam_colors = get_subject_color_map (exam_list )
107107 assert color_map ["Ch1" ] == color_map ["Ch2" ]
108108 assert color_map ["Ch1" ] == exam_colors ["Stats" ]
109109
@@ -114,7 +114,7 @@ def test_get_subject_color_map_exam_name_in_color_map():
114114 schedule = make_schedule (
115115 {"date" : date (2026 , 6 , 1 ), "subject" : "Ch1" , "hours" : 2.0 , "type" : "initial" }
116116 )
117- color_map , _ = get_subject_color_map (schedule , exam_list )
117+ color_map , _ = get_subject_color_map (exam_list )
118118 assert "Stats" in color_map
119119
120120
@@ -128,7 +128,7 @@ def test_get_subject_color_map_two_exams_different_colors():
128128 {"date" : date (2026 , 6 , 1 ), "subject" : "Ch1" , "hours" : 2.0 , "type" : "initial" },
129129 {"date" : date (2026 , 6 , 2 ), "subject" : "Algebra" , "hours" : 2.0 , "type" : "initial" },
130130 )
131- _ , exam_colors = get_subject_color_map (schedule , exam_list )
131+ _ , exam_colors = get_subject_color_map (exam_list )
132132 assert exam_colors ["Stats" ] != exam_colors ["Math" ]
133133
134134
@@ -138,7 +138,7 @@ def test_get_subject_color_map_hsl_format():
138138 schedule = make_schedule (
139139 {"date" : date (2026 , 6 , 1 ), "subject" : "Stats" , "hours" : 2.0 , "type" : "initial" }
140140 )
141- _ , exam_colors = get_subject_color_map (schedule , exam_list )
141+ _ , exam_colors = get_subject_color_map (exam_list )
142142 assert exam_colors ["Stats" ].startswith ("hsl(" )
143143
144144
@@ -148,7 +148,7 @@ def test_get_subject_color_map_single_exam_hue_is_zero():
148148 schedule = make_schedule (
149149 {"date" : date (2026 , 6 , 1 ), "subject" : "Stats" , "hours" : 2.0 , "type" : "initial" }
150150 )
151- _ , exam_colors = get_subject_color_map (schedule , exam_list )
151+ _ , exam_colors = get_subject_color_map (exam_list )
152152 assert exam_colors ["Stats" ] == "hsl(0, 70%, 50%)"
153153
154154
0 commit comments