Commit f441be61017899f56bcbf54a5460728cf0007b67
1 parent
638bc9c4ab
Exists in
master
s/x/u
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
flashcards/test_fixtures/f7.py
View file @
f441be6
from flashcards.models import * | 1 | 1 | from flashcards.models import * | |
2 | 2 | |||
3 | 3 | |||
def apply(): | 4 | 4 | def apply(): | |
u = User.objects.get(email='userx@flashy.cards') | 5 | 5 | u = User.objects.get(email='userx@flashy.cards') | |
y = User.objects.get(email='usery@flashy.cards') | 6 | 6 | y = User.objects.get(email='usery@flashy.cards') | |
s = Section.objects.get(department_abbreviation='TEST', course_num='101') | 7 | 7 | s = Section.objects.get(department_abbreviation='TEST', course_num='101') | |
s.enroll(u) | 8 | 8 | s.enroll(u) | |
s.enroll(y) | 9 | 9 | s.enroll(y) |