From 3924d744027b4e5fdede0ff3e921d6df354835f5 Mon Sep 17 00:00:00 2001
From: Lennard Strohmeyer <lennard.strohmeyer@digitallearning.gmbh>
Date: Thu, 27 Mar 2025 16:53:22 +0100
Subject: [PATCH] fixed imports in broken test cases

---
 src/consents/tests/tests_consent_operations.py   | 2 +-
 src/providers/tests/tests_provider_management.py | 2 +-
 src/users/tests.py                               | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/consents/tests/tests_consent_operations.py b/src/consents/tests/tests_consent_operations.py
index 13c22c4..72887c8 100644
--- a/src/consents/tests/tests_consent_operations.py
+++ b/src/consents/tests/tests_consent_operations.py
@@ -11,7 +11,7 @@ from providers.models import Provider, ProviderAuthorization, ProviderSchema, Pr
 from users.models import CustomUser
 from django.core.management import call_command
 
-from ..models import UserConsents
+from consents.models import UserConsents
 
 PROJECT_PATH = os.path.abspath(os.path.dirname(__name__))
 
diff --git a/src/providers/tests/tests_provider_management.py b/src/providers/tests/tests_provider_management.py
index f17447f..a6ea6b0 100644
--- a/src/providers/tests/tests_provider_management.py
+++ b/src/providers/tests/tests_provider_management.py
@@ -8,7 +8,7 @@ from django.core.management import call_command
 
 from users.models import CustomUser
 
-from src.providers.models import Provider, ProviderAuthorization
+from providers.models import Provider, ProviderAuthorization
 
 PROJECT_PATH = os.path.abspath(os.path.dirname(__name__))
 
diff --git a/src/users/tests.py b/src/users/tests.py
index 6a49d12..012b400 100644
--- a/src/users/tests.py
+++ b/src/users/tests.py
@@ -3,7 +3,7 @@ from rest_framework.test import APIClient
 from rolepermissions.roles import assign_role
 from django.core.management import call_command
 
-from .models import CustomUser
+from users.models import CustomUser
 
 
 class UserTests(TestCase):
-- 
GitLab