def test_get_jids(self):
        mock_ret = MagicMock(return_value='DB')
        with patch.object(salt.loader, 'returners',
                          MagicMock(return_value={'mysql.get_jids': mock_ret})):
            self.assertEqual(ret.get_jids('mysql'), 'DB')

    # 'get_minions' function tests: 1
Test if it return a list of all job ids
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/ret_test.py/RetTestCase.test_get_jids