def test_call_method_on_first_element(self): """ when some method is missing on ElementList and is present in element, it should be passed """ the_list = ElementList([Person(), Person(), Person()]) the_list.walk() the_person = the_list.first self.assertEqual("walking", the_person.current_action)