'Tests the exclude method after a filter method of a List of
Embedded Documents.'

def test_chained_filter_exclude(self):

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