File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
from unittest import mock
2
2
from unittest .mock import MagicMock
3
3
4
- import django
5
4
from django .core .exceptions import PermissionDenied
6
5
from django .test import RequestFactory , TestCase , override_settings
7
6
@@ -401,7 +400,6 @@ def test_auth_header_not_consumed_with_consumption_disabled(self):
401
400
self .middleware (self .request )
402
401
self .assertIn ('HTTP_AUTHORIZATION' , self .request .META )
403
402
404
-
405
403
@override_settings (
406
404
BASIC_AUTH_LOGIN = 'testtest' ,
407
405
BASIC_AUTH_PASSWORD = 'testtest' ,
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = django-basic-auth-ip-whitelist
3
- version = 0.3.3a0
3
+ version = 0.3.3
4
4
description = Hide your Django site behind basic authentication mechanism with IP whitelisting support.
5
5
long-description = file: README.rst
6
6
author = Tomasz Knapik
You can’t perform that action at this time.
0 commit comments