Updated queryset
This commit is contained in:
parent
6e083fa6a1
commit
1108586303
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue