Run Python test suite with nose2.
Stefano Rivera
1 year, 8 months ago
55 | 55 |
# TESTS
|
56 | 56 |
nose:
|
57 | 57 |
#nosetests3 --verbose --with-doctest --with-coverage
|
58 | |
nosetests3 --verbose --with-doctest
|
|
58 |
nose2-3 --verbose --plugin nose2.plugins.doctests --with-doctest
|
59 | 59 |
|
60 | 60 |
tests: nose
|
61 | 61 |
make -C tests
|
|
0 |
dh-python (5.20220820) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
* Run Python test suite with nose2.
|
|
3 |
|
|
4 |
-- Stefano Rivera <stefanor@debian.org> Sun, 21 Aug 2022 18:19:24 +0200
|
|
5 |
|
0 | 6 |
dh-python (5.20220819) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* flit plugin: Explicitly install using the "deb_system" sysconfig scheme.
|
8 | 8 |
python3-docutils,
|
9 | 9 |
# used by tests:
|
10 | 10 |
python3-all, python3-all-dbg, python3-all-dev,
|
11 | |
python3-nose
|
|
11 |
python3-nose2
|
12 | 12 |
Standards-Version: 4.6.0
|
13 | 13 |
Vcs-Git: https://salsa.debian.org/python-team/tools/dh-python.git
|
14 | 14 |
Vcs-Browser: https://salsa.debian.org/python-team/tools/dh-python
|
29 | 29 |
python-all-dbg,
|
30 | 30 |
python3-all,
|
31 | 31 |
python3-all-dbg,
|
32 | |
python3-nose
|
|
32 |
python3-nose2
|
33 | 33 |
Restrictions: allow-stderr
|
34 | 34 |
|
35 | 35 |
Tests: pybuild
|
1 | 1 |
|
2 | 2 |
set -eu
|
3 | 3 |
|
4 | |
nosetests3 /usr/share/dh-python/dhpython --with-doctest -v
|
5 | |
|
6 | 4 |
cp -r tests "$AUTOPKGTEST_TMP"
|
7 | 5 |
cd "$AUTOPKGTEST_TMP"
|
8 | |
PYTHONPATH=/usr/share/dh-python nosetests3 -v tests
|
|
6 |
|
|
7 |
nose2-3 --verbose --plugin nose2.plugins.doctests --with-doctest \
|
|
8 |
--start-dir /usr/share/dh-python/dhpython
|
|
9 |
|
|
10 |
PYTHONPATH=/usr/share/dh-python nose2-3 -v tests
|