Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 14, 2024
1 parent 300a5b7 commit bd9a56d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

from django.conf import settings
from django.contrib.auth import get_user_model
from django.core import exceptions as django_exceptions
from django.test import TestCase
from rest_framework import exceptions as drf_exceptions
from django.core import exceptions as django_exceptions

from rest_framework_simplejwt.exceptions import TokenError
from rest_framework_simplejwt.serializers import (
Expand Down Expand Up @@ -268,7 +268,6 @@ def test_it_should_raise_error_for_deleted_users(self):

self.assertIn("does not exist", str(e.exception))


def test_it_should_raise_error_for_inactive_users(self):
refresh = RefreshToken.for_user(self.user)
self.user.is_active = False
Expand Down

0 comments on commit bd9a56d

Please sign in to comment.