def METHOD_NAME(
    mock_subprocess, monkeypatch, empty_data_context, filesystem_csv_2, misc_directory
):
    context = empty_data_context
    files_directory = os.path.basename(filesystem_csv_2)  # noqa: PTH119
    monkeypatch.chdir(misc_directory)
    invocation = f"--config {context.root_directory} datasource new"
    invocation_input = f"Y\n1\n1\n../{files_directory}\n"
    _run_cli_datasource_new_path_test(
        context, invocation, invocation_input, files_directory
    )