def METHOD_NAME(monkeypatch, temp_data_dir_path):
    monkeypatch.setenv(DOCKER_ENV_VAR, "true")
    temp_data_dir_path.mkdir()
    create_bogus_file(temp_data_dir_path)
    with pytest.raises(IncompatibleDataDirectory):
        setup_data_dir(temp_data_dir_path)