summaryrefslogtreecommitdiff
path: root/tests/annotations/tests.py
diff options
context:
space:
mode:
authorNiclas Olofsson <n@niclasolofsson.se>2014-12-04 21:47:48 +0100
committerTim Graham <timograham@gmail.com>2014-12-24 14:54:30 -0500
commit3daa9d60be6672841ceed5bb812b6fb25950dc16 (patch)
tree1771ecd7ab15fd5795bb605c9d7e710ed0b86935 /tests/annotations/tests.py
parentb27db97b236569d059fa824c3078e06adf8b4fae (diff)
Fixed #10414 -- Made select_related() fail on invalid field names.
Diffstat (limited to 'tests/annotations/tests.py')
-rw-r--r--tests/annotations/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py
index 8a4bffcb6e..a2a1c8f852 100644
--- a/tests/annotations/tests.py
+++ b/tests/annotations/tests.py
@@ -181,7 +181,7 @@ class NonAggregateAnnotationTestCase(TestCase):
other_chain=F('chain'),
is_open=Value(True, BooleanField()),
book_isbn=F('books__isbn')
- ).select_related('store').order_by('book_isbn').filter(chain='Westfield')
+ ).order_by('book_isbn').filter(chain='Westfield')
self.assertQuerysetEqual(
qs, [