'Test the create method of a List of Embedded Documents.'

def test_create(self):

    comment = self.post1.comments.create(author='user4', message='message1')
    self.post1.save()
    self.assertIsInstance(comment, self.Comments)
    self.assertEqual(comment.author, 'user4')
    self.assertEqual(comment.message, 'message1')
    self.assertIn(comment, self.BlogPost.objects(comments__author='user4')[0].comments)
