'Ensure that the DictField can be updated.'

def test_dictfield_update(self):

    class Club(Document, ):
        members = DictField()
    club = Club()
    club.members['John'] = {'gender': 'M', 'age': 13}
    club.save()
    Club.objects().update(set__members={'John': {'gender': 'F', 'age': 14}})
    club = Club.objects().first()
    self.assertEqual(club.members['John']['gender'], 'F')
    self.assertEqual(club.members['John']['age'], 14)
