From 11085863033b71aa4026dcd3fe2c26adea54f8a4 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Thu, 18 Apr 2013 13:26:35 +0000 Subject: [PATCH] Updated queryset --- tests/queryset/queryset.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/queryset/queryset.py b/tests/queryset/queryset.py index 1dccdb14..37670b0a 100644 --- a/tests/queryset/queryset.py +++ b/tests/queryset/queryset.py @@ -389,6 +389,8 @@ class QuerySetTest(unittest.TestCase): self.assertEqual(post.comments[1].by, 'jane') self.assertEqual(post.comments[1].votes, 8) + def test_update_using_positional_operator_matches_first(self): + # Currently the $ operator only applies to the first matched item in # the query