Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.0.X] Modified a test from r10787 so that the comparison order is r…

…eliable. Thanks to Alex Gaynor and Tom Tobin for the report via IRC.

Merge of r10828 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e00173806361ce0756bea8a2e2efaac773f56569 1 parent 3cd3df8
Russell Keith-Magee authored May 20, 2009
2  tests/regressiontests/model_formsets_regress/tests.py
@@ -69,7 +69,7 @@ def test_formset_over_to_field(self):
69 69
         form_set = FormSet(data, instance=user)
70 70
         if form_set.is_valid():
71 71
             form_set.save()
72  
-            usersite = UserSite.objects.all().values().order_by('user')
  72
+            usersite = UserSite.objects.all().values().order_by('data')
73 73
             self.assertEqual(usersite[0]['data'], 11)
74 74
             self.assertEqual(usersite[0]['user_id'], u'apollo13')
75 75
             self.assertEqual(usersite[1]['data'], 42)

0 notes on commit e001738

Please sign in to comment.
Something went wrong with that request. Please try again.