'Augment the :term:`deployment settings` with one or more
key/value pairs.
You may pass a dictionary::
config.add_settings({\'external_uri\':\'http://example.com\'})
Or a set of key/value pairs::
config.add_settings(external_uri=\'http://example.com\')
This function is useful when you need to test code that accesses the
:attr:`pyramid.registry.Registry.settings` API (or the
:meth:`pyramid.config.Configurator.get_settings` API) and
which uses values from that API.'

def add_settings(self, settings=None, **kw):

    if (settings is None):
        settings = {}
    utility = self.registry.settings
    if (utility is None):
        utility = self._set_settings(settings)
    utility.update(settings)
    utility.update(kw)
