Skip to content
Snippets Groups Projects

Backend tests

Merged Jan Maximilian Michal requested to merge backend-tests into master
8 files
+ 73
21
Compare changes
  • Side-by-side
  • Inline
Files
8
""" A set of factory methods that make testing easier. Each method creates all
""" A set of factory methods that make testing easier. Each method creates all
reuired subfields if not provided by via kwargs. """
reuired subfields if not provided by via kwargs. """
from core.models import (UserAccount, Student, Tutor, Reviewer,
from core.models import (ExamType, Feedback, Reviewer, Student, Submission,
ExamType, SubmissionType, Submission, Feedback)
SubmissionType, Tutor, UserAccount)
# These methods are meant to be used to provide data to insert into the test
# These methods are meant to be used to provide data to insert into the test
# database
# database
Loading