diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-22 18:56:50 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-07-22 18:56:50 +0000 |
| commit | d1ea8b2842a9d1fd54c799e9f374d6b53931942e (patch) | |
| tree | c80eb46745ca05de654e16c3162ed04b8c67c2fd /tests/regressiontests | |
| parent | 8745beccb10f60864910b7941d7d0c99a5db30ed (diff) | |
Changed the test from [8052] so that it is insensitive to whether a database
sorts NULLs first or last in a sequence or results.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests')
| -rw-r--r-- | tests/regressiontests/queries/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 3c3b840883..5231eac8be 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -833,8 +833,8 @@ True Bug #7791 -- there were "issues" when ordering and distinct-ing on fields related via ForeignKeys. ->>> Note.objects.order_by('extrainfo__info').distinct() -[<Note: n3>, <Note: n1>, <Note: n2>] +>>> len(Note.objects.order_by('extrainfo__info').distinct()) +3 """} |
