def test_getidledelay(self): """ Test for Return the current idle delay setting in seconds """ with patch("salt.modules.gnomedesktop._GSettings") as gsettings_mock: with patch.object(gsettings_mock, "_get", return_value=True): self.assertTrue(gnomedesktop.getIdleDelay())
def test_getidledelay(self): ''' Test for Return the current idle delay setting in seconds ''' with patch('salt.modules.gnomedesktop._GSettings') as gsettings_mock: with patch.object(gsettings_mock, '_get', return_value=True): self.assertTrue(gnomedesktop.getIdleDelay())
def test_getidledelay(self, gsettings_mock): ''' Test for Return the current idle delay setting in seconds ''' with patch.object(gsettings_mock, '_get', return_value=True): self.assertTrue(gnomedesktop.getIdleDelay())