def test_modify_unknown_object(self):
yield from self.maindoc.objects.modify(id=ObjectId(), docname='dn')
total = yield from self.maindoc.objects.all().count()
self.assertEqual(total, 0)
self.assertFalse(None)
评论列表
文章目录