def test_get_pending_component_servicing_true_3(self):
     """
     If the PackagesPending key exists, should return True
     """
     with patch("salt.utils.win_reg.key_exists",
                side_effect=[False, False, True]):
         self.assertTrue(win_system.get_pending_component_servicing())
 def test_get_pending_component_servicing(self):
     """
     If none of the keys exist, should return False
     """
     with patch("salt.utils.win_reg.key_exists", return_value=False):
         self.assertFalse(win_system.get_pending_component_servicing())