class Physics_G3(test_env.TestEnv): def test_physics_g3(self): self.pys_g3 = PublicMethod(self.driver) if self.FILENAME == 'run_all_ko.py': self.pys_g3.generate_access_code(ExamPath_KO.physics_g3) self.pys_g3.access(ExamPath_KO.physics_g3) elif self.FILENAME == 'run_all_en.py': pass elif self.FILENAME == 'run_all_cn.py': pass self.pys_g3.begin_exam() self.pys_g3.select_answers()
class Physics_G3(test_env.TestEnv): def test_physics_g3(self): self.pys_g3 = PublicMethod(self.driver) if self.FILENAME == 'run_all_ko.py': self.pys_g3.generate_access_code(ExamPath_KO.physics_g3) self.pys_g3.access(ExamPath_KO.physics_g3) elif self.FILENAME == 'run_all_en.py': pass elif self.FILENAME == 'run_all_cn.py': pass self.pys_g3.begin_exam() self.pys_g3.select_answers()
class Math_G1(test_env.TestEnv): def test_math_g1(self): self.math_g1 = PublicMethod(self.driver) if self.FILENAME == 'run_all_ko.py': self.math_g1.generate_access_code(ExamPath_KO.math_g1) self.math_g1.access(ExamPath_KO.math_g1) elif self.FILENAME == 'run_all_en.py': pass elif self.FILENAME == 'run_all_cn.py': pass self.math_g1.begin_exam() self.math_g1.select_answers()
class Math_G1(test_env.TestEnv): def test_math_g1(self): self.math_g1 = PublicMethod(self.driver) if self.FILENAME == 'run_all_ko.py': self.math_g1.generate_access_code(ExamPath_KO.math_g1) self.math_g1.access(ExamPath_KO.math_g1) elif self.FILENAME == 'run_all_en.py': pass elif self.FILENAME == 'run_all_cn.py': pass self.math_g1.begin_exam() self.math_g1.select_answers()
class MathPhysics_G1(test_env.TestEnv): def test_mathphyiscs_g1(self): self.mathphyiscs_g1 = PublicMethod(self.driver) if self.FILENAME == 'run_all_ko.py': self.mathphyiscs_g1.generate_access_code(ExamPath_KO.random_g1) self.mathphyiscs_g1.access(ExamPath_KO.random_g1) self.mathphyiscs_g1.insturction_in_email() elif self.FILENAME == 'run_all_en.py': self.mathphyiscs_g1.generate_access_code(ExamPath_EN.random_g1) self.mathphyiscs_g1.access(ExamPath_EN.random_g1) elif self.FILENAME == 'run_all_cn.py': pass self.mathphyiscs_g1.begin_exam() self.mathphyiscs_g1.select_answers() self.mathphyiscs_g1.begin_exam() self.mathphyiscs_g1.select_answers()