def service_update_stateless_invalid_params_test(self):
     """Stateless service update with invalid args raises error"""
     with self.assertRaises(CLIError):
         sf_c.validate_update_service_params(True, False, 5, None, None,
                                             None, None, 10)
     with self.assertRaises(CLIError):
         sf_c.validate_update_service_params(True, False, None, 1, None,
                                             None, None, 10)
     with self.assertRaises(CLIError):
         sf_c.validate_update_service_params(True, False, None, None, 10,
                                             None, None, 10)
     with self.assertRaises(CLIError):
         sf_c.validate_update_service_params(True, False, None, None, None,
                                             10, None, 10)
     with self.assertRaises(CLIError):
         sf_c.validate_update_service_params(True, False, None, None, None,
                                             None, 5, 10)
 def service_update_stateful_invalid_params_test(self):
     """Stateful service update with invalid args raises error"""
     with self.assertRaises(CLIError):
         sf_c.validate_update_service_params(False, True, 5, 3, 10, 10, 10,
                                             1)
 def service_update_specify_state_test(self):
     """Service update incorrectly specifying service state raises error"""
     with self.assertRaises(CLIError):
         sf_c.validate_update_service_params(False, False, 10, 0, 10, 10,
                                             10, False)