Skip to content

Commit 235f69b

Browse files
Fix dashboard test for conditional leaderboard display
Set first_homework_scored=True in test_dashboard_with_complete_course_data since the test creates a scored homework 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a6b030d commit 235f69b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

courses/tests/test_dashboard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ def setUp(self):
531531
slug="test-course",
532532
title="Test Course",
533533
project_passing_score=70,
534+
first_homework_scored=True, # Course has scored homeworks
534535
)
535536

536537
# Create multiple homeworks and projects

0 commit comments

Comments
 (0)