Kaydet (Commit) 4747fe27 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Removed a test assertion that depended on primary key ordering. The test doesn't…

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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 1637fefc
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment