diff options
| author | Michal Privoznik <mprivozn@redhat.com> | 2021-09-24 08:31:54 +0200 |
|---|---|---|
| committer | Michal Privoznik <mprivozn@redhat.com> | 2021-09-24 08:34:50 +0200 |
| commit | 7d47523bb0179bd82d4096f70499127d0bd71692 (patch) | |
| tree | a7ba4d549f3485d813cb953051f067058447612e | |
| parent | cd18f4523548e4eebbeae2ff95b7883123cfb85e (diff) | |
| download | libvirt-python-7d47523bb0179bd82d4096f70499127d0bd71692.tar.gz | |
sanitytest: Add virNetworkCreateXMLFlags() to list of name fixupsv7.8.0
When checking whether each C API is exported to Python and vice
versa the sanitytest script is doing some name fixing. For
instance virNetworkCreateXML() is translated into
virConnect.networkCreateXML(). However, we have new C API on the
way: virNetworkCreateXMLFlags() which is not on the list for
these name fixups. Add it there.
Mind you, the python code generator works just fine because
generator.py:1082 compares just the prefix.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
| -rw-r--r-- | sanitytest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sanitytest.py b/sanitytest.py index dc3796b..5b5ad68 100644 --- a/sanitytest.py +++ b/sanitytest.py @@ -253,7 +253,8 @@ for name, (klass, func, cname) in sorted(basicklassmap.items()): "LookupByMACString", "LookupByUsage", "LookupByVolume", "LookupByTargetPath", "LookupSCSIHostByWWN", "LookupByPortDev", "Restore", "RestoreFlags", - "SaveImageDefineXML", "SaveImageGetXMLDesc", "DefineXMLFlags"]: + "SaveImageDefineXML", "SaveImageGetXMLDesc", "DefineXMLFlags", + "CreateXMLFlags"]: if klass != "virDomain": func = klass[3:] + func |
