diff options
Diffstat (limited to 'repoze/bfg/testing.py')
| -rw-r--r-- | repoze/bfg/testing.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/repoze/bfg/testing.py b/repoze/bfg/testing.py index 2b9a7a904..5d0a756e7 100644 --- a/repoze/bfg/testing.py +++ b/repoze/bfg/testing.py @@ -320,6 +320,10 @@ def registerSettings(dictarg=None, **kw): return values from it. .. note:: This API is new as of :mod:`repoze.bfg` 1.1. + + .. warning:: This API is deprecated as of :mod:`repoze.bfg` 1.2. + Instead use the ``add_settings`` method of a + :term:`Configurator` in your unit and integration tests. """ reg = get_current_registry() settings = reg.queryUtility(ISettings) |
