def METHOD_NAME(tmp_path):
    """Test create path magic methods."""
    tmp_data_dir = tmp_path.joinpath('data')
    test_utils.ensure_trestle_config_dir(tmp_path)
    cpa = CreatePathAction(tmp_data_dir)
    action_desc = cpa.to_string()
    assert action_desc == f'{cpa.get_type()} {tmp_data_dir}'