def METHOD_NAME(self, r):
    assert b"mylib" == r.function_load(f"#!{engine} name={lib} \n {function}")
    assert b"mylib" == r.function_load(
        f"#!{engine} name={lib} \n {function}", replace=True
    )
    with pytest.raises(ResponseError):
        r.function_load(f"#!{engine} name={lib} \n {function}")
    with pytest.raises(ResponseError):
        r.function_load(f"#!{engine} name={lib2} \n {function}")