def METHOD_NAME(get_collection_rules, try_disk):
    """
    Local file name is added to the stored result.
    """
    config, pconn = update_rules_args()
    raw_result = update_rules(config, pconn)
    coerced_result = coerce_result(raw_result)
    name, args, kwargs = try_disk.mock_calls[0]
    expected = try_disk.return_value
    expected.update({"file": args[0]})
    assert coerced_result[0] == expected