9 lines
338 B
Python
9 lines
338 B
Python
from contest.management.commands.seed_contests import QUESTIONS
|
|
from contest.models import Question
|
|
|
|
|
|
def test_seed_question_pool_三个历史赛道题量充足():
|
|
assert len(QUESTIONS[Question.Track.BEGINNER]) == 400
|
|
assert len(QUESTIONS[Question.Track.STANDARD]) == 400
|
|
assert len(QUESTIONS[Question.Track.ADVANCED]) == 200
|