Skip to content

Commit

Permalink
Fix the liters issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Mar 18, 2024
1 parent 48c4bee commit 6b91ac6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions adrf/test.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
from django.conf import settings
from django.test.client import AsyncRequestFactory as DjangoAsyncRequestFactory
from django.test.client import AsyncClient as DjangoAsyncClient
from django.test.client import AsyncClientHandler
from django.test.client import AsyncRequestFactory as DjangoAsyncRequestFactory
from django.utils.encoding import force_bytes
from django.utils.http import urlencode

from rest_framework.settings import api_settings

from rest_framework.test import ForceAuthClientHandler, force_authenticate
from rest_framework.test import force_authenticate


class AsyncForceAuthClientHandler(AsyncClientHandler):
Expand Down
8 changes: 4 additions & 4 deletions tests/test_testmodule.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from django.core.handlers.asgi import ASGIRequest
from django.test import TestCase, override_settings
from django.urls import path, reverse
from django.core.handlers.asgi import ASGIRequest
from rest_framework import status
from rest_framework.response import Response

from adrf.test import AsyncAPIRequestFactory, AsyncAPIClient
from adrf.decorators import api_view
from adrf.test import AsyncAPIClient, AsyncAPIRequestFactory
from rest_framework import status
from rest_framework.response import Response


@api_view(["GET", "POST", "PUT", "PATCH"])
Expand Down

0 comments on commit 6b91ac6

Please sign in to comment.