Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[1.2.X] Removed a test assertion that depended on primary key orderin…
…g. 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
  • Loading branch information
freakboy3742 committed Sep 28, 2010
1 parent 229c738 commit cf0e0c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/regressiontests/custom_columns_regress/tests.py
Expand Up @@ -22,8 +22,6 @@ def setUp(self):
self.authors = [self.a1, self.a2] self.authors = [self.a1, self.a2]


def test_basic_creation(self): 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 = Article(headline='Django lets you build web apps easily', primary_author=self.a1)
art.save() art.save()
art.authors = [self.a1, self.a2] art.authors = [self.a1, self.a2]
Expand Down

0 comments on commit cf0e0c4

Please sign in to comment.