Commit 824398a6 authored by Christopher Løkken's avatar Christopher Løkken
Browse files

fixed unit tests (imports)

parent 86deb92f
Pipeline #172924 passed with stages
in 1 minute and 9 seconds
......@@ -15,10 +15,10 @@ from django.test import TestCase
# databases
from unittest import TestCase as UnitTestCase
from .permissions import IsAthlete, IsCoach, IsCurrentUser
from .serializers.UserSerializer import UserSerializer
from .models import User, athlete_directory_path
from .views import UserSearch
from users.permissions import IsAthlete, IsCoach, IsCurrentUser
from users.serializers.UserSerializer import UserSerializer
from users.models import User, athlete_directory_path
from users.views.user import UserSearch
VALIDATED_PASSWORD = "lasldkfj23113!adsfvsødkfjsadfVASDFAødklsajdfa8313"
......@@ -4,11 +4,10 @@ Tests for the workouts application.
from webbrowser import Konqueror
from django.test import TestCase, RequestFactory
from .views import ExerciseDetail, ExerciseList
from workouts.models import ExerciseInstance
from workouts.models import Exercise
from workouts.models.exercises import Exercise, ExerciseInstance
from workouts import permissions
from users.models import User
from workouts.models import Workout
from workouts.models.workouts import Workout
from django.utils import timezone
from rest_framework.test import force_authenticate, APIRequestFactory
from faker import Faker
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment