From 8eb388db7fd0cf6e339bb312195dd1a718b32f38 Mon Sep 17 00:00:00 2001 From: faucomte97 Date: Wed, 18 Sep 2024 12:18:58 +0100 Subject: [PATCH] isort --- codeforlife/tests/model_serializer.py | 4 ++-- codeforlife/tests/model_view_set.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/codeforlife/tests/model_serializer.py b/codeforlife/tests/model_serializer.py index 99a0a8c7..74e8b007 100644 --- a/codeforlife/tests/model_serializer.py +++ b/codeforlife/tests/model_serializer.py @@ -13,11 +13,11 @@ from django.forms.models import model_to_dict from rest_framework.serializers import BaseSerializer, ValidationError -from .api_request_factory import APIRequestFactory -from .test import TestCase from ..serializers import ModelListSerializer, ModelSerializer from ..types import DataDict from ..user.models import AnyUser as RequestUser +from .api_request_factory import APIRequestFactory +from .test import TestCase AnyModel = t.TypeVar("AnyModel", bound=Model) diff --git a/codeforlife/tests/model_view_set.py b/codeforlife/tests/model_view_set.py index b4a6c320..e4f8e718 100644 --- a/codeforlife/tests/model_view_set.py +++ b/codeforlife/tests/model_view_set.py @@ -16,12 +16,12 @@ from rest_framework import status from rest_framework.response import Response -from .api import APIClient, APITestCase from ..permissions import Permission from ..serializers import BaseSerializer from ..types import DataDict, JsonDict, KwArgs from ..user.models import AnyUser as RequestUser from ..views import ModelViewSet +from .api import APIClient, APITestCase AnyModel = t.TypeVar("AnyModel", bound=Model)