E&S CVS Commit: PEAK - Make expect() patterns match even when a generic when() match occurs.

pje at eby-sarna.com pje at eby-sarna.com
Thu May 12 12:50:49 EDT 2011


Author: pje
Date: Thu May 12 12:50:49 2011
New Revision: 2697

URL: http://svn.eby-sarna.com?rev=2697&view=rev
Log:
Make expect() patterns match even when a generic when() match occurs.  
The 'provides' and 'callback' supplied by the when() will still apply, 
unless overridden by a provides() supplied with the expect().

Modified:
    PEAK/src/peak/util/mockdb.py
    PEAK/src/peak/util/tests/test_mockdb.py



More information about the source-changes mailing list