1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2024-10-26 16:25:10 +03:00

setup: switch to running API coverage test using pytest

The API coverage test is no longer a special case.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2022-03-22 18:27:15 +00:00
parent 6feb31a7a1
commit 60044515a2
2 changed files with 0 additions and 5 deletions

View File

@ -309,8 +309,6 @@ class my_test(Command):
else:
os.environ["PYTHONPATH"] = self.build_platlib
if "LIBVIRT_API_COVERAGE" in os.environ:
self.spawn([sys.executable, "sanitytest.py"])
pytest = self.find_pytest_path()
subprocess.check_call([pytest])

View File

@ -430,6 +430,3 @@ class LibvirtAPICoverage(unittest.TestCase):
usedfunctions = validate_c_to_python_api_mappings(finalklassmap, gotfunctions)
validate_python_to_c_api_mappings(gotfunctions, usedfunctions)
validate_c_api_bindings_present(finalklassmap)
test = LibvirtAPICoverage()
test.test_libvirt_api()