text: import copy
  
  from django.conf import settings
  from django.test import override_settings
  
  
  def override_invoices_settings(**kwargs):
      invoice_settings = copy.deepcopy(settings.WALDUR_INVOICES)
      invoice_settings.update(kwargs)
      return override_settings(WALDUR_INVOICES=invoice_settings)
  