Skip to content
Snippets Groups Projects
Commit a8c7881b authored by Colin Watson's avatar Colin Watson
Browse files

Run tests using pytest

parent 2572c758
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ zope.interface (5.5.2-1) UNRELEASED; urgency=medium
* New upstream release.
* d/rules: Simplify, removing manual calls to setup.py.
* Run tests using pytest.
-- Colin Watson <cjwatson@debian.org> Sat, 10 Dec 2022 14:30:03 +0000
......
# Work around difficulties with pre-PEP-420 namespace packages: the .pth
# files from build-dependencies are loaded during site initialization,
# adding the system "zope" package directory to sys.path, but we want to
# ensure that subpackages of zope can be imported both from our
# build-dependencies and from this package while running tests.
import os.path
import zope
zope.__path__[:0] = [os.path.join(os.path.dirname(__file__), "zope")]
......@@ -8,6 +8,7 @@ Build-Depends: debhelper-compat (= 13),
libpython3-all-dev,
python3-all-dev:any,
python3-coverage (>= 5.0.3),
python3-pytest,
python3-setuptools,
python3-zope.event,
python3-zope.testing
......
debian/conftest.py
#!/usr/bin/make -f
export PYBUILD_NAME=zope.interface
export PYBUILD_TEST_PYTEST=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export PYBUILD_VERBOSE=1
#export DH_VERBOSE=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment