diff --git a/smash/web/tests/api_views/test_subject.py b/smash/web/tests/api_views/test_subject.py index 265caddf99aee951b3a3c9abb9ba7672d55f4d1e..2ed3fc0a5721f39de92e27066bbc28ce6c362882 100644 --- a/smash/web/tests/api_views/test_subject.py +++ b/smash/web/tests/api_views/test_subject.py @@ -3,18 +3,15 @@ import datetime import json import logging -from django.contrib.auth.models import User -from django.test import Client -from django.test import TestCase from django.urls import reverse -from tests import LoggedInWithWorkerTestCase +from web.tests import LoggedInWithWorkerTestCase from web.api_views.subject import get_subjects_order, get_subjects_filtered, serialize_subject from web.models import StudySubject, Appointment, Study from web.models.constants import GLOBAL_STUDY_ID, SUBJECT_TYPE_CHOICES_PATIENT, SUBJECT_TYPE_CHOICES_CONTROL from web.models.study_subject_list import SUBJECT_LIST_GENERIC, SUBJECT_LIST_NO_VISIT, SUBJECT_LIST_REQUIRE_CONTACT, \ StudySubjectList -from web.tests.functions import create_study_subject, create_worker, create_get_suffix, create_visit, \ +from web.tests.functions import create_study_subject, create_get_suffix, create_visit, \ create_appointment, create_empty_study_columns, create_contact_attempt, create_flying_team from web.views.notifications import get_today_midnight_date