1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-30 23:41:52 +03:00

Skip sparseRecvAll / sparseSendAll in sanity test

The sanity test check aims to ensure that every function listed in
the Python code maps to a corresponding C function. The Sparse
send/recv methods are special though - we're never calling the
corresponding C APIs, instead we have a pure python impl.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange
2017-09-14 13:48:55 +01:00
parent c1a8c6c105
commit 13b4283d58

View File

@ -351,7 +351,8 @@ for klass in gotfunctions:
for func in sorted(gotfunctions[klass]):
# These are pure python methods with no C APi
if func in ["connect", "getConnect", "domain", "getDomain",
"virEventInvokeFreeCallback"]:
"virEventInvokeFreeCallback",
"sparseRecvAll", "sparseSendAll"]:
continue
key = "%s.%s" % (klass, func)