Skip to content

Commit

Permalink
Drop pkg_resources from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksihakli committed Mar 4, 2024
1 parent 0de5ab3 commit a069a42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion requirements-qa.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
black==24.2.0
mypy==1.8.0
prospector==1.10.3
types-pkg_resources # Type stub
4 changes: 2 additions & 2 deletions tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

from django.test import override_settings
from django.urls import reverse
from pkg_resources import get_distribution

from axes import __version__
from axes.apps import AppConfig
from axes.models import AccessAttempt, AccessLog
from tests.base import AxesTestCase

_BEGIN = "AXES: BEGIN version %s, %s"
_VERSION = get_distribution("django-axes").version
_VERSION = __version__


@patch("axes.apps.AppConfig.initialized", False)
Expand Down

0 comments on commit a069a42

Please sign in to comment.