示例#1
0
def questionnaire_set(questionnaire_set_json):
    """ Load in fixtures
    """
    return (
        create_results(question_set_json=questionnaire_set_json),
        create_questions(questionnaire_set_json),
    )
示例#2
0
 def __init__(self):
     raw_json = import_question_set(path=JSON_QUESTION_SET)
     self.question_set: t.List = question_set
     self.total_questions = len(self.question_set)
     self.results: t.List = create_results(question_set_json=raw_json)