mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-03 08:21:58 +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]):
|
for func in sorted(gotfunctions[klass]):
|
||||||
# These are pure python methods with no C APi
|
# These are pure python methods with no C APi
|
||||||
if func in ["connect", "getConnect", "domain", "getDomain",
|
if func in ["connect", "getConnect", "domain", "getDomain",
|
||||||
"virEventInvokeFreeCallback"]:
|
"virEventInvokeFreeCallback",
|
||||||
|
"sparseRecvAll", "sparseSendAll"]:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
key = "%s.%s" % (klass, func)
|
key = "%s.%s" % (klass, func)
|
||||||
|
Reference in New Issue
Block a user