> I'm fairly new to it and it seems like to write tests,
you have to
> simulate the responses ADSI or WMI. I can find lots of
help doing
> standard python unit testing but how does this change
when using COM?
The only advice I can offer is to not think of this as a COM
problem. All
apps that talk to servers beyond there control suffer the
same problem (eg,
a program talking LDAP on any platform, or written against
Oracle, etc).
When possible, I just tend to use unittest based tests, with
setUp and
tearDown methods that hit a test server, and try not leave
too much of a
mess behind...)
Mark
_______________________________________________
Python-win32 mailing list
Python-win32 python.org
http://mail.python.org/mailman/listinfo/python-win32
|