summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py2
-rw-r--r--tests/test_api_coverage.py (renamed from sanitytest.py)3
2 files changed, 0 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index a6a53bb..d4b218d 100755
--- a/setup.py
+++ b/setup.py
@@ -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()