Updated queryset

This commit is contained in:
Ross Lawley 2013-04-18 13:26:35 +00:00
parent 6e083fa6a1
commit 1108586303

View File

@ -389,6 +389,8 @@ class QuerySetTest(unittest.TestCase):
self.assertEqual(post.comments[1].by, 'jane') self.assertEqual(post.comments[1].by, 'jane')
self.assertEqual(post.comments[1].votes, 8) 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 # Currently the $ operator only applies to the first matched item in
# the query # the query