

def setUp(self):
    User.objects.create_user(email=TEST_USER_EMAIL, username=TEST_USER_USERNAME, password=TEST_USER_PASSWORD)
    user = User.objects.get(email=TEST_USER_EMAIL)
    teacher = Teacher.objects.create(user=user)
    student = Student.objects.create(user=user)
    course = Course.objects.create(id=1, title='Comics Book Course', sub_title='The definitive course on comics!', category='', teacher=teacher)

dataset/ETHPy150Open AcademicsToday/py-academicstoday/academicstoday_project/landpage/tests/test_register.py RegisterTest.setUp/original