summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-09-28 04:49:37 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-09-28 04:49:37 +0000
commitcf0e0c47f0b68cb4cfe7d5711df44dd1c05c385e (patch)
tree7bf0c08a91dd630b9994b8e34ec83303777b8832
parent229c738a03b938fd81a4858ad51750c76d2d666c (diff)
[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
-rw-r--r--tests/regressiontests/custom_columns_regress/tests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/regressiontests/custom_columns_regress/tests.py b/tests/regressiontests/custom_columns_regress/tests.py
index 6f6c4ecf94..0587ab7070 100644
--- a/tests/regressiontests/custom_columns_regress/tests.py
+++ b/tests/regressiontests/custom_columns_regress/tests.py
@@ -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]