diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-03 23:06:20 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-03 23:06:20 +0000 |
| commit | ab4e7b9befb1b84deedfcb29766e8250113ba566 (patch) | |
| tree | 669204dd5f167ee57fcc20fbf08621a559d161f3 /docs/whatsnew-1.2.rst | |
| parent | 49ce9b5339756a9c4f195e4987f3c233ee77a9f8 (diff) | |
| download | pyramid-ab4e7b9befb1b84deedfcb29766e8250113ba566.tar.gz pyramid-ab4e7b9befb1b84deedfcb29766e8250113ba566.tar.bz2 pyramid-ab4e7b9befb1b84deedfcb29766e8250113ba566.zip | |
- ``repoze.bfg.testing.DummyModel`` now accepts a new constructor
keyword argument: ``__provides__``. If this constructor argument is
provided, it should be an interface or a tuple of interfaces. The
resulting model will then provide these interfaces (they will be
attached to the constructed model via
``zope.interface.alsoProvides``).
Diffstat (limited to 'docs/whatsnew-1.2.rst')
| -rw-r--r-- | docs/whatsnew-1.2.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/whatsnew-1.2.rst b/docs/whatsnew-1.2.rst index 603b2f087..862bef375 100644 --- a/docs/whatsnew-1.2.rst +++ b/docs/whatsnew-1.2.rst @@ -83,6 +83,13 @@ Minor Miscellaneous Feature Additions function to be the global ZCA registry (the result of ``zope.component.getGlobalSiteManager``) once again. +- ``repoze.bfg.testing.DummyModel`` now accepts a new constructor + keyword argument: ``__provides__``. If this constructor argument is + provided, it should be an interface or a tuple of interfaces. The + resulting model will then provide these interfaces (they will be + attached to the constructed model via + ``zope.interface.alsoProvides``). + Backwards Incompatibilites -------------------------- |
