'Tests chained filter methods of a List of Embedded Documents'

def test_chained_filter(self):

    filtered = self.post2.comments.filter(author='user2').filter(message='message2')
    self.assertEqual(len(filtered), 1)
    self.assertEqual(filtered[0].author, 'user2')
    self.assertEqual(filtered[0].message, 'message2')
