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:
@ -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)
|
||||
|
Reference in New Issue
Block a user