diff --git a/setup.cfg b/setup.cfg index e67d252..e3b1c01 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,7 +5,7 @@ tag = True [metadata] name = django-test-plus -version = 2.2.3 +version = 2.2.4 description = "django-test-plus provides useful additions to Django's default TestCase" long_description = file: README.md long_description_content_type = text/markdown diff --git a/test_plus/test.py b/test_plus/test.py index de68132..723dfe1 100644 --- a/test_plus/test.py +++ b/test_plus/test.py @@ -1,5 +1,3 @@ -import json - import django try: diff --git a/test_project/test_app/views.py b/test_project/test_app/views.py index 89d5797..f3b3c97 100644 --- a/test_project/test_app/views.py +++ b/test_project/test_app/views.py @@ -89,7 +89,6 @@ def view_json(request): return HttpResponse('', content_type='application/json') - @login_required def needs_login(request): return HttpResponse('', status=200) diff --git a/test_project/test_project/settings.py b/test_project/test_project/settings.py index c667e88..4953add 100644 --- a/test_project/test_project/settings.py +++ b/test_project/test_project/settings.py @@ -107,4 +107,5 @@ REST_FRAMEWORK = { 'TEST_REQUEST_DEFAULT_FORMAT': 'json', -} \ No newline at end of file +} +