def METHOD_NAME():
    """
    Tests loading a configuration file.
    """
    ret = {}
    ret["retcode"] = 0
    mock_cmd = MagicMock(return_value=ret)
    with patch.dict(vmctl.__salt__, {"cmd.run_all": mock_cmd}):
        assert vmctl.load("/etc/vm.switches.conf")