diff options
author | Tim Graham <timograham@gmail.com> | 2016-02-05 15:56:52 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-02-06 08:47:21 -0500 |
commit | 015fad9060a8a6fb273a33b8e8457e504ed26131 (patch) | |
tree | dc56db72ffaea2acbe5925a10c95021f7a26df39 /tests/admin_utils | |
parent | f8e865d78f9acb1ad976cffffb207d66ff8cef72 (diff) | |
download | django-015fad9060a8a6fb273a33b8e8457e504ed26131.tar.gz |
Fixed #26175 -- Removed SHA1 password hashes in tests.
Diffstat (limited to 'tests/admin_utils')
-rw-r--r-- | tests/admin_utils/test_logentry.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/admin_utils/test_logentry.py b/tests/admin_utils/test_logentry.py index cf675069fd..1442c8f2c3 100644 --- a/tests/admin_utils/test_logentry.py +++ b/tests/admin_utils/test_logentry.py @@ -20,12 +20,7 @@ from .models import Article, ArticleProxy, Site @override_settings(ROOT_URLCONF="admin_utils.urls") class LogEntryTests(TestCase): def setUp(self): - self.user = User.objects.create( - password='sha1$995a3$6011485ea3834267d719b4c801409b8b1ddd0158', - is_superuser=True, username='super', - first_name='Super', last_name='User', email='super@example.com', - is_staff=True, is_active=True, date_joined=datetime(2007, 5, 30, 13, 20, 10) - ) + self.user = User.objects.create_superuser(username='super', password='secret', email='super@example.com') self.site = Site.objects.create(domain='example.org') self.a1 = Article.objects.create( site=self.site, |