[FIX] partner_autocomplete : Do not crash other tests when partner_autocomplete server fails
[FIX] partner_autocomplete : Do not crash other tests when partner_autocomplete server fails

Add a check to see if we're in test mode that returns an InsufficientCreditError to avoid failing other tests if partner_autocomplete server fails

closes odoo/odoo#28324
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo