def test_start_time_service(self): ''' Test to start the Windows time service ''' mock = MagicMock(return_value=True) with patch.dict(win_system.__salt__, {'service.start': mock}): self.assertTrue(win_system.start_time_service())