def setUp(self):
        TestHelper.setUp(self)
        create_user('admin', '*****@*****.**', 'admintiger')
        create_user('user1', '*****@*****.**', 'usertiger')
        create_user('user2', '*****@*****.**', 'usertiger')

        self.activate_submission("T1")
        self.grade("jtiger-src.zip", "T1", user="******")
        self.grade("jtiger-src.zip", "T1", user="******")
示例#2
0
def helper():
    """TestHelper as a fixture for tests"""
    return TestHelper()