Commit 638bc9c4ab18baeabbbbd515fc14ef2b55db155b

Authored by Andrew Buss
1 parent 0e258c1298
Exists in master

fixtures f8 f9

Showing 2 changed files with 21 additions and 0 deletions Inline Diff

flashcards/test_fixtures/f8.py View file @ 638bc9c
File was created 1 from flashcards.models import *
2
3
4 def apply():
5 u = User.objects.get(email='userx@flashy.cards')
6 y = User.objects.get(email='usery@flashy.cards')
7 s = Section.objects.get(department_abbreviation='TEST', course_num='101')
8 s.enroll(u)
9 s.enroll(y)
flashcards/test_fixtures/f9.py View file @ 638bc9c
File was created 1 from flashcards.models import *
2
3
4 def apply():
5 u = User.objects.get(email='userx@flashy.cards')
6 y = User.objects.get(email='usery@flashy.cards')
7 s = Section.objects.get(department_abbreviation='TEST', course_num='101')
8 s.enroll(u)