diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2010-02-23 23:02:10 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2010-02-23 23:02:10 +0000 |
| commit | d30ff7760214186667d9344e9884e0fed248d9dd (patch) | |
| tree | 5293739fe00a15505f680e8237dd3acd6ab119be | |
| parent | 5366aa96fef0ce55fc425cf273c7debe74d99305 (diff) | |
Fixed an unspecified ordering in the expression tests that could lead to a heisenbug.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | tests/modeltests/expressions/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modeltests/expressions/models.py b/tests/modeltests/expressions/models.py index b515682a9c..76006e10f0 100644 --- a/tests/modeltests/expressions/models.py +++ b/tests/modeltests/expressions/models.py @@ -78,7 +78,7 @@ __test__ = {'API_TESTS': """ >>> c.save() # F Expressions can also span joins ->>> Company.objects.filter(ceo__firstname=F('point_of_contact__firstname')).distinct() +>>> Company.objects.filter(ceo__firstname=F('point_of_contact__firstname')).distinct().order_by('name') [<Company: Foobar Ltd.>, <Company: Test GmbH>] >>> _ = Company.objects.exclude(ceo__firstname=F('point_of_contact__firstname')).update(name='foo') |
