fix(lint): sort imports in test files
Some checks failed
CI/CD Pipeline / Build Docker Images (push) Has been cancelled
CI/CD Pipeline / Push to Gitea Registry (push) Has been cancelled
CI/CD Pipeline / Run Tests (push) Has been cancelled
CI/CD Pipeline / Code Quality Checks (push) Has been cancelled

This commit is contained in:
2026-02-02 12:57:06 +01:00
parent bb34c194f8
commit 9b2b12130e
5 changed files with 15 additions and 24 deletions

View File

@@ -1,11 +1,9 @@
"""Тесты для BackgroundJob."""
from django.test import TestCase
from faker import Faker
from apps.core.models import BackgroundJob, JobStatus
from apps.core.services import BackgroundJobService
from django.test import TestCase
from faker import Faker
fake = Faker()

View File

@@ -1,10 +1,9 @@
"""Tests for core services"""
from django.contrib.auth import get_user_model
from django.test import TestCase
from apps.core.exceptions import NotFoundError
from apps.core.services import BaseService
from django.contrib.auth import get_user_model
from django.test import TestCase
User = get_user_model()

View File

@@ -1,12 +1,6 @@
"""Tests for core signals utilities"""
from django.contrib.auth import get_user_model
from django.db.models.signals import post_save, pre_save
from django.test import TestCase
from tests.apps.user.factories import UserFactory
from apps.core.signals import (
SignalDispatcher,
emit_password_changed,
@@ -18,6 +12,11 @@ from apps.core.signals import (
user_registered,
user_verified,
)
from django.contrib.auth import get_user_model
from django.db.models.signals import post_save, pre_save
from django.test import TestCase
from tests.apps.user.factories import UserFactory
User = get_user_model()