Fix Ruff import ordering for CI
Some checks failed
CI/CD Pipeline / Code Quality Checks (push) Successful in 1m53s
CI/CD Pipeline / Run Tests (push) Successful in 2m19s
CI/CD Pipeline / Build Docker Images (push) Successful in 3m26s
CI/CD Pipeline / Push to Gitea Registry (push) Failing after 20s
CI/CD Pipeline / Deploy to Server (push) Has been skipped

This commit is contained in:
2026-04-07 16:37:47 +02:00
parent 697ecb7d1c
commit ee497bd557
126 changed files with 280 additions and 382 deletions

View File

@@ -1,9 +1,5 @@
"""Tests for core permissions"""
from django.contrib.auth import get_user_model
from django.test import RequestFactory, TestCase
from rest_framework.views import APIView
from apps.core.permissions import (
IsAdmin,
IsAdminOrReadOnly,
@@ -13,6 +9,10 @@ from apps.core.permissions import (
IsSuperuser,
IsVerified,
)
from django.contrib.auth import get_user_model
from django.test import RequestFactory, TestCase
from rest_framework.views import APIView
from tests.apps.user.factories import UserFactory
User = get_user_model()