mirror of
https://github.com/jazzband/django-axes.git
synced 2026-05-20 13:21:53 +00:00
Remove tests for get_version
This commit is contained in:
parent
c30b2366cf
commit
eb43ab4151
1 changed files with 0 additions and 7 deletions
|
|
@ -5,7 +5,6 @@ from unittest.mock import patch
|
|||
from django.http import JsonResponse, HttpResponseRedirect, HttpResponse, HttpRequest
|
||||
from django.test import override_settings, RequestFactory
|
||||
|
||||
from axes import get_version
|
||||
from axes.apps import AppConfig
|
||||
from axes.models import AccessAttempt
|
||||
from axes.tests.base import AxesTestCase
|
||||
|
|
@ -26,12 +25,6 @@ from axes.helpers import (
|
|||
)
|
||||
|
||||
|
||||
class VersionTestCase(AxesTestCase):
|
||||
@patch('axes.__version__', 'test')
|
||||
def test_get_version(self):
|
||||
self.assertEqual(get_version(), 'test')
|
||||
|
||||
|
||||
@override_settings(AXES_ENABLED=False)
|
||||
class AxesDisabledTestCase(AxesTestCase):
|
||||
def test_initialize(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue