Update of /cvsroot/pywin32/pywin32/com/win32com/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29099/win32com/test
Modified Files:
testPyComTest.py
Log Message:
add a property that takes a param to the test suite.
Index: testPyComTest.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/test/testPyComTest.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** testPyComTest.py 7 Feb 2007 23:12:31 -0000 1.26
--- testPyComTest.py 11 Feb 2007 12:39:06 -0000 1.27
***************
*** 138,141 ****
--- 138,146 ----
raise error, "got %r" % (o.CurrencyProp,)
+ # damn - props with params don't work for dynamic objects :(
+ # o.SetParamProp(0, 1)
+ # if o.ParamProp(0) != 1:
+ # raise RuntimeError, o.paramProp(0)
+
try:
import datetime
***************
*** 295,298 ****
--- 300,307 ----
raise error, "%s got %r" % (val, o.CurrencyProp)
+ o.SetParamProp(0, 1)
+ if o.ParamProp(0) != 1:
+ raise RuntimeError, o.paramProp(0)
+
# Do the connection point thing...
# Create a connection object.
|