def METHOD_NAME():
    function_path = str(pathlib.Path(__file__).parent / "assets" / "handler.py")
    project = mlrun.new_project("test-handler", save=False)
    project.set_function(
        function_path, "myfunc", handler="myhandler", image="mlrun/mlrun"
    )
    run = project.run_function("myfunc", handler="handler2", local=True)
    # verify that the 2nd handler was running (not the default)
    assert run.output("handler") == "2"