From ab4e7b9befb1b84deedfcb29766e8250113ba566 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Thu, 3 Dec 2009 23:06:20 +0000 Subject: - ``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``). --- docs/whatsnew-1.2.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/whatsnew-1.2.rst') 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 -------------------------- -- cgit v1.2.3