-
Committer:
Barry Warsaw
-
Date:
2011-04-01 22:51:29 UTC
-
mto:
(6974.3.4 passwords)
-
mto:
This revision was merged to the branch mainline in
revision
6978.
-
Revision ID:
barry@list.org-20110401225129-n90yo2hk1tomru9b
* Re-organize the interface between buildout.cfg and the zope.testing layer
initialization. buildout.cfg is now really simple; it calls one method.
That method does all the relevant layer initializations. This better
localizes what has to be set up before testing can even begin.
* IUsers now have a created_on property which contains the datetime at which
the user record was created.
* Rework the date and uid factories so that they consult the
MockAndMonkeyLayer for the current testing flag. Also, those factories
register themselves with the layer so that they'll get automatically reset
between tests, without the layer actually having to know about them.
* Move the User model object initialization into User.__init__() from the user
manager. The User now also adds itself to the store.
* Add a 'uid factory' for unique id creation, which is test suite aware.