Kaydet (Commit) 20f455b3 authored tarafından Tim Graham's avatar Tim Graham

flake8 fixes (unused imports and variables).

üst ffa238c3
...@@ -6,7 +6,6 @@ from django.contrib.auth.models import User, AnonymousUser ...@@ -6,7 +6,6 @@ from django.contrib.auth.models import User, AnonymousUser
from django.contrib.auth.tests.custom_user import CustomUser from django.contrib.auth.tests.custom_user import CustomUser
from django.contrib.auth.tests.utils import skipIfCustomUser from django.contrib.auth.tests.utils import skipIfCustomUser
from django.core.exceptions import ImproperlyConfigured from django.core.exceptions import ImproperlyConfigured
from django.core.management import call_command
from django.dispatch import receiver from django.dispatch import receiver
from django.test import TestCase, override_settings from django.test import TestCase, override_settings
from django.test.signals import setting_changed from django.test.signals import setting_changed
......
...@@ -327,8 +327,6 @@ class CreatesuperuserManagementCommandTestCase(TestCase): ...@@ -327,8 +327,6 @@ class CreatesuperuserManagementCommandTestCase(TestCase):
available on self.stdin. available on self.stdin.
If no such option is passed, it defaults to sys.stdin. If no such option is passed, it defaults to sys.stdin.
""" """
user_data = {'username': 'foo', 'email': 'foo@example.com'}
sentinel = object() sentinel = object()
command = createsuperuser.Command() command = createsuperuser.Command()
command.execute( command.execute(
......
...@@ -2,7 +2,6 @@ import sys ...@@ -2,7 +2,6 @@ import sys
from django.core import management from django.core import management
from django.core.management import CommandError from django.core.management import CommandError
from django.core.management.base import BaseCommand
from django.core.management.utils import popen_wrapper from django.core.management.utils import popen_wrapper
from django.test import SimpleTestCase from django.test import SimpleTestCase
from django.utils import translation from django.utils import translation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment