1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed explicit User ids in tests.

This commit is contained in:
Tim Graham
2015-11-24 08:22:05 -05:00
parent 8bce6fa637
commit 9350616211
4 changed files with 55 additions and 54 deletions

View File

@@ -32,7 +32,7 @@ class SiteEachContextTest(TestCase):
@classmethod
def setUpTestData(cls):
cls.u1 = User.objects.create(
id=100, password='sha1$995a3$6011485ea3834267d719b4c801409b8b1ddd0158',
password='sha1$995a3$6011485ea3834267d719b4c801409b8b1ddd0158',
last_login=datetime.datetime(2007, 5, 30, 13, 20, 10), is_superuser=True, username='super',
first_name='Super', last_name='User', email='super@example.com',
is_staff=True, is_active=True, date_joined=datetime.datetime(2007, 5, 30, 13, 20, 10),