E&S CVS Commit: PEAK - Added 'ddt.FunctionChecker', which can test any callable that takes

pje at eby-sarna.com pje at eby-sarna.com
Fri Feb 13 16:24:00 EST 2004


Module Name:	PEAK
Committed By:	pje
Date:		Fri Feb 13 21:23:17 UTC 2004

Modified Files:
	PEAK/src/peak: peak.ini
	PEAK/src/peak/ddt: processors.py
	PEAK/src/peak/ddt/tests: Action_Test.html __init__.py

Log Message:
Added 'ddt.FunctionChecker', which can test any callable that takes
keyword arguments only, assuming you don't want to test that errors are
raised.  (Although that capability could perhaps be added later.)  Also
added an 'ItemCell' cell mapper for mapping cells to dictionary items.
This mapper is used by 'FunctionChecker' to map cell values to a dictionary
of keyword arguments.

Last, but not least, changed the 'methodTypes' keyword of various checkers
to be 'typeInfo', since it is used now for lots of things that have nothing
to do with methods.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/peak.ini.diff?r1=1.137&r2=1.138
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/processors.py.diff?r1=1.12&r2=1.13
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/tests/Action_Test.html.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/PEAK/src/peak/ddt/tests/__init__.py.diff?r1=1.8&r2=1.9

To generate a diff of this commit:
cvs rdiff -r1.137 -r1.138 PEAK/src/peak/peak.ini
cvs rdiff -r1.12 -r1.13 PEAK/src/peak/ddt/processors.py
cvs rdiff -r1.1 -r1.2 PEAK/src/peak/ddt/tests/Action_Test.html
cvs rdiff -r1.8 -r1.9 PEAK/src/peak/ddt/tests/__init__.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list