From b059fa6b8b1851de03686ae3ae71a8d0645cfe08 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Tue, 5 Dec 2017 17:16:13 +0100
Subject: [PATCH] module reference fixed

---
 smash/web/tests/api_views/test_subject.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/smash/web/tests/api_views/test_subject.py b/smash/web/tests/api_views/test_subject.py
index 265caddf..2ed3fc0a 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
 
-- 
GitLab