Exemplo n.º 1
0
    def LeftAndRight6Mid(self,
                         url_name1,
                         url_name2,
                         json_path,
                         creat_json=False,
                         json_name=None):
        questions_all = CreateQuestionUnit5.LoationQuestions().LeftAndRight6()

        if creat_json:
            q_CreatDatas.CreatDatas(questions_all).creatJson(
                json_path, json_name, url_name2)
        q_CreatDatas.CreatDatas(questions_all).creatUrl(url_name1, url_name2)
Exemplo n.º 2
0
    def ToChoiceA8Mid(self,
                      url_name1,
                      url_name2,
                      json_path,
                      creat_json=False,
                      json_name=None):
        questions_all = CreateQuestionUnit5.LoationQuestions().ToChoiceA8()

        if creat_json:
            q_CreatDatas.CreatDatas(questions_all).creatJson(
                json_path, json_name, url_name2)
        q_CreatDatas.CreatDatas(questions_all).creatUrl(url_name1, url_name2)
Exemplo n.º 3
0
    def CognitionFrontAndBack7Mid(self,
                                  url_name1,
                                  url_name2,
                                  json_path,
                                  creat_json=False,
                                  json_name=None):
        questions_all = CreateQuestionUnit5.LoationQuestions(
        ).CognitionFrontAndBack7()

        if creat_json:
            q_CreatDatas.CreatDatas(questions_all).creatJson(
                json_path, json_name, url_name2)
        q_CreatDatas.CreatDatas(questions_all).creatUrl(url_name1, url_name2)