1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

[1.2.X] Removed a test assertion that depended on primary key ordering. The test doesn't validate anything significant, and fails under Postgres. Thanks to Tobias McNulty and the magical Caktus buildbot for pointing out the problem.

Backport of r13923 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-09-28 04:49:37 +00:00
parent 229c738a03
commit cf0e0c47f0

View File

@ -22,8 +22,6 @@ class CustomColumnRegression(TestCase):
self.authors = [self.a1, self.a2]
def test_basic_creation(self):
self.assertEqual(self.a1.Author_ID, 1)
art = Article(headline='Django lets you build web apps easily', primary_author=self.a1)
art.save()
art.authors = [self.a1, self.a2]