fix: format
This commit is contained in:
parent
dc706e7ece
commit
48677974d2
|
|
@ -1,10 +1,7 @@
|
||||||
import graphene
|
import graphene
|
||||||
|
|
||||||
from vbv_lernwelt.course.models import CourseSession, CourseSessionUser
|
from vbv_lernwelt.course.models import CourseSession, CourseSessionUser
|
||||||
from vbv_lernwelt.dashboard.graphql.types.assignment import (
|
from vbv_lernwelt.dashboard.graphql.types.assignment import Assignments, assignments
|
||||||
Assignments,
|
|
||||||
assignments,
|
|
||||||
)
|
|
||||||
from vbv_lernwelt.dashboard.graphql.types.attendance import (
|
from vbv_lernwelt.dashboard.graphql.types.attendance import (
|
||||||
attendance_day_presences,
|
attendance_day_presences,
|
||||||
AttendanceDayPresences,
|
AttendanceDayPresences,
|
||||||
|
|
|
||||||
|
|
@ -3,26 +3,23 @@ from typing import Tuple
|
||||||
|
|
||||||
from graphene_django.utils import GraphQLTestCase
|
from graphene_django.utils import GraphQLTestCase
|
||||||
|
|
||||||
from vbv_lernwelt.assignment.models import (
|
from vbv_lernwelt.assignment.models import Assignment, AssignmentType
|
||||||
AssignmentType,
|
from vbv_lernwelt.course.models import CourseSession, CourseSessionUser
|
||||||
Assignment,
|
|
||||||
)
|
|
||||||
from vbv_lernwelt.course.models import CourseSessionUser, CourseSession
|
|
||||||
from vbv_lernwelt.course_session.models import (
|
from vbv_lernwelt.course_session.models import (
|
||||||
CourseSessionAssignment,
|
CourseSessionAssignment,
|
||||||
CourseSessionEdoniqTest,
|
CourseSessionEdoniqTest,
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.dashboard.tests.graphql.utils import (
|
from vbv_lernwelt.dashboard.tests.graphql.utils import (
|
||||||
add_course_session_user,
|
add_course_session_user,
|
||||||
create_circle,
|
|
||||||
create_course,
|
|
||||||
create_course_session,
|
|
||||||
create_user,
|
|
||||||
create_assignment,
|
create_assignment,
|
||||||
create_assignment_completion,
|
create_assignment_completion,
|
||||||
create_assignment_learning_content,
|
create_assignment_learning_content,
|
||||||
create_course_session_edoniq_test,
|
create_circle,
|
||||||
|
create_course,
|
||||||
|
create_course_session,
|
||||||
create_course_session_assignment,
|
create_course_session_assignment,
|
||||||
|
create_course_session_edoniq_test,
|
||||||
|
create_user,
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.learnpath.models import Circle
|
from vbv_lernwelt.learnpath.models import Circle
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ from django.contrib.auth.hashers import make_password
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
from vbv_lernwelt.assignment.models import (
|
from vbv_lernwelt.assignment.models import (
|
||||||
AssignmentType,
|
|
||||||
AssignmentCompletion,
|
|
||||||
Assignment,
|
Assignment,
|
||||||
|
AssignmentCompletion,
|
||||||
AssignmentCompletionStatus,
|
AssignmentCompletionStatus,
|
||||||
|
AssignmentType,
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.assignment.tests.assignment_factories import (
|
from vbv_lernwelt.assignment.tests.assignment_factories import (
|
||||||
AssignmentFactory,
|
AssignmentFactory,
|
||||||
|
|
@ -32,25 +32,25 @@ from vbv_lernwelt.course.models import (
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.course.utils import get_wagtail_default_site
|
from vbv_lernwelt.course.utils import get_wagtail_default_site
|
||||||
from vbv_lernwelt.course_session.models import (
|
from vbv_lernwelt.course_session.models import (
|
||||||
CourseSessionAttendanceCourse,
|
|
||||||
CourseSessionAssignment,
|
CourseSessionAssignment,
|
||||||
|
CourseSessionAttendanceCourse,
|
||||||
CourseSessionEdoniqTest,
|
CourseSessionEdoniqTest,
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.duedate.models import DueDate
|
from vbv_lernwelt.duedate.models import DueDate
|
||||||
from vbv_lernwelt.learnpath.models import (
|
from vbv_lernwelt.learnpath.models import (
|
||||||
Circle,
|
Circle,
|
||||||
LearningPath,
|
|
||||||
LearningContentAssignment,
|
LearningContentAssignment,
|
||||||
LearningContentEdoniqTest,
|
LearningContentEdoniqTest,
|
||||||
|
LearningPath,
|
||||||
)
|
)
|
||||||
from vbv_lernwelt.learnpath.tests.learning_path_factories import (
|
from vbv_lernwelt.learnpath.tests.learning_path_factories import (
|
||||||
CircleFactory,
|
CircleFactory,
|
||||||
|
LearningContentAssignmentFactory,
|
||||||
LearningContentAttendanceCourseFactory,
|
LearningContentAttendanceCourseFactory,
|
||||||
|
LearningContentEdoniqTestFactory,
|
||||||
LearningPathFactory,
|
LearningPathFactory,
|
||||||
LearningUnitFactory,
|
LearningUnitFactory,
|
||||||
TopicFactory,
|
TopicFactory,
|
||||||
LearningContentAssignmentFactory,
|
|
||||||
LearningContentEdoniqTestFactory,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue