[ovirt-devel] Mocks for oVirt Python SDK code
Yaniv Kaul
ykaul at redhat.com
Mon Aug 14 11:21:12 UTC 2017
I was wondering if there are any examples of mocks written for code written
on top of the oVirt Python SDK.
I would assume there will be a different a call mocking sdk.Connection()
that would return a mock'ed object and from there continue?
Context: I'm looking into writing an oVirt driver for some project. They
(rightfully so) ask for unit tests, using mocks, fixtures, etc. I'm unsure
this is really going to be easy or meaningful, but I thought I'd look into
it...
TIA,
Y.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170814/1e81d505/attachment-0001.html>
More information about the Devel
mailing list