My module is using the WMI module to use WMI Hyper-V provider.
My module obeys a public contract that needs to be exercised by the build
automation framework. The build machine is not running on Windows.
How could I easily mock the calls to WMI (and the subsequent calls to WMI
objects returned by the calls the wmi.MsVmFoo()) ?
It seems that using Mock (or similar) will fail since these WMI objects
themselves have some getattr magic going on behind the scenes?

Thanks
--
CV
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to