diff --git a/tests/unit/challenges/test_views.py b/tests/unit/challenges/test_views.py index 32210fd59d..b199bddd0b 100644 --- a/tests/unit/challenges/test_views.py +++ b/tests/unit/challenges/test_views.py @@ -2962,6 +2962,8 @@ def test_get_challenge_phase_split(self): "visibility": self.challenge_phase_split.visibility, "show_leaderboard_by_latest_submission": self.challenge_phase_split.show_leaderboard_by_latest_submission, "show_execution_time": False, + "leaderboard_schema": self.challenge_phase_split.leaderboard.schema, + "is_multi_metric_leaderboard": self.challenge_phase_split.is_multi_metric_leaderboard, } ] self.client.force_authenticate(user=self.participant_user) @@ -2999,6 +3001,8 @@ def test_get_challenge_phase_split_when_user_is_challenge_host(self): "visibility": self.challenge_phase_split.visibility, "show_leaderboard_by_latest_submission": self.challenge_phase_split.show_leaderboard_by_latest_submission, "show_execution_time": False, + "leaderboard_schema": self.challenge_phase_split.leaderboard.schema, + "is_multi_metric_leaderboard": self.challenge_phase_split.is_multi_metric_leaderboard, }, { "id": self.challenge_phase_split_host.id, @@ -3009,6 +3013,8 @@ def test_get_challenge_phase_split_when_user_is_challenge_host(self): "visibility": self.challenge_phase_split_host.visibility, "show_leaderboard_by_latest_submission": self.challenge_phase_split_host.show_leaderboard_by_latest_submission, "show_execution_time": False, + "leaderboard_schema": self.challenge_phase_split_host.leaderboard.schema, + "is_multi_metric_leaderboard": self.challenge_phase_split_host.is_multi_metric_leaderboard, }, ] self.client.force_authenticate(user=self.user)