예제 #1
0
    def test_total_infection_coach_3(self):
        NEW_VERSION = "Test_0.1"

        for x in range(12):
            self.setUp()
            main.totalInfection(self.coach_test_users[5], NEW_VERSION)

            self.assertTrue(self.isVersionChangedUserArray(self.coach_test_users, NEW_VERSION, 0, 12))
예제 #2
0
    def test_total_infection_basic_student_2(self):
        NEW_VERSION = "Test_0.1"
        main.totalInfection(self.basic_test_users[7], NEW_VERSION)

        self.assertTrue(self.isVersionChangedUserArray(self.basic_test_users, NEW_VERSION, 6, 12))
예제 #3
0
    def test_total_infection_coach_2(self):
        NEW_VERSION = "Test_0.1"
        main.totalInfection(self.coach_test_users[11], NEW_VERSION)

        self.assertTrue(self.isVersionChangedUserArray(self.coach_test_users, NEW_VERSION, 0, 12))
예제 #4
0
    def test_total_infection_basic_teacher_1(self):
        NEW_VERSION = "Test_0.1"
        main.totalInfection(self.basic_test_users[0], NEW_VERSION)

        self.assertTrue(self.isVersionChangedUserArray(self.basic_test_users, NEW_VERSION, 0, 6))