def METHOD_NAME():
    """
    When both or either of the commands is missing there should
    be no grain output.
    """
    grains_exp_res = {}
    which_mock = Mock(side_effect=["/usr/sbin/mdata-list", None])
    with patch("salt.utils.path.which", which_mock):
        grains_res = mdata._sdc_mdata()
        assert grains_exp_res == grains_res