summaryrefslogtreecommitdiff
path: root/docs/whatsnew-1.2.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-03 23:06:20 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-03 23:06:20 +0000
commitab4e7b9befb1b84deedfcb29766e8250113ba566 (patch)
tree669204dd5f167ee57fcc20fbf08621a559d161f3 /docs/whatsnew-1.2.rst
parent49ce9b5339756a9c4f195e4987f3c233ee77a9f8 (diff)
downloadpyramid-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.rst7
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
--------------------------