'Tests the filter method of a List of Embedded Documents
with a single keyword.'

def test_single_keyword_filter(self):

    filtered = self.post1.comments.filter(author='user1')
    self.assertEqual(len(filtered), 1)
    self.assertEqual(filtered[0].author, 'user1')
