diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-03-22 18:27:15 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2022-04-21 15:00:29 +0000 |
commit | 60044515a256c36afad0fc5efcb7ea946eb93783 (patch) | |
tree | 345f3e5a8b84612450eff55ee6d12d460706e9cf | |
parent | 6feb31a7a10267e14183495915b191ecdf4ea3e8 (diff) | |
download | libvirt-python-60044515a256c36afad0fc5efcb7ea946eb93783.tar.gz |
setup: switch to running API coverage test using pytestv8.3.0
The API coverage test is no longer a special case.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
-rwxr-xr-x | setup.py | 2 | ||||
-rw-r--r-- | tests/test_api_coverage.py (renamed from sanitytest.py) | 3 |
2 files changed, 0 insertions, 5 deletions
@@ -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]) diff --git a/sanitytest.py b/tests/test_api_coverage.py index 8f02cdf..c922df2 100644 --- a/sanitytest.py +++ b/tests/test_api_coverage.py @@ -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() |