@destructiveTest
    @requires_system_grains
    def test_set_output_volume(self, grains=None):
        current_vol = self.run_function('desktop.get_output_volume')
        to_set = 10
        if current_vol == str(to_set):
            to_set += 2
        new_vol = self.run_function('desktop.set_output_volume', [str(to_set)])
        check_vol = self.run_function('desktop.get_output_volume')
        self.assertEqual(new_vol, check_vol)

        # Set volume back to what it was before
        self.run_function('desktop.set_output_volume', [current_vol])
Returns setup for documents related to this doctype.
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/mac_desktop.py/MacDesktopTestCase.test_set_output_volume--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/model/meta.py/Meta.get_links_setup