1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed ordering-related failure in m2m_through_regress tests

This commit is contained in:
Anssi Kääriäinen
2012-11-24 15:52:00 +02:00
parent bf1871d874
commit dc569c8801
2 changed files with 4 additions and 1 deletions

View File

@@ -168,7 +168,7 @@ class ToFieldThroughTests(TestCase):
self.car.drivers._add_items('car', 'driver', self.unused_driver)
self.assertQuerysetEqual(
self.car.drivers.all(),
["<Driver: Ryan Briscoe>", "<Driver: Barney Gumble>"]
["<Driver: Barney Gumble>", "<Driver: Ryan Briscoe>"]
)
def test_add_null(self):