def METHOD_NAME():
    # If given field is in the dictionary, it will be renamed
    d = {"a": 1, "b": 2}
    rename_fields(d, "a", "x")
    assert "a" not in d
    assert "x" in d
    assert d["x"] == 1
    assert d["b"] == 2