def when_i_add_the_following_entries_to_the_phonebook(step): for entry in step.hashes: phonebook_action_webi.create_entry(entry)
def given_there_are_entries_in_the_phonebook(step): for entry in step.hashes: phonebook_action_webi.remove_entry_if_exists(entry) phonebook_action_webi.create_entry(entry)