'should raise AttributeError with right content'

def test_attribute_error_content(self):

    with self.assertRaises(AttributeError) as cm:
        the_list = ElementList([Person(), Person()])
        the_list.talk()
    expected_message = "'ElementList'    object    has    no    attribute    'talk'"
    e = cm.exception
    self.assertEqual(expected_message, e.args[0])
