def when_i_configure_the_following_directories(step): for directory in step.hashes: directory_action_webi.add_or_replace_directory_config(directory)
def given_the_following_directories_exist(step): for directory in step.hashes: directory_action_webi.add_or_replace_directory_config(directory)