Switch from nose to pytest
Stuart Prescott
1 year, 8 months ago
6 | 6 |
dh-python,
|
7 | 7 |
python3-all,
|
8 | 8 |
Build-Depends-Indep:
|
9 | |
python3-nose,
|
|
9 |
python3-pytest,
|
10 | 10 |
python3-polib,
|
11 | 11 |
python3-rply,
|
12 | 12 |
Homepage: https://jwilk.net/software/i18nspector
|
0 | 0 |
Tests: i18nspector
|
1 | 1 |
Depends:
|
|
2 |
locales,
|
2 | 3 |
python3-all,
|
3 | |
python3-nose,
|
|
4 |
python3-pytest,
|
4 | 5 |
i18nspector
|
0 | 0 |
#!/bin/sh
|
1 | 1 |
set -e -u
|
2 | |
cp -a tests/ data/ doc/ "$AUTOPKGTEST_TMP"
|
|
2 |
cp -a pytest.ini tests/ data/ doc/ "$AUTOPKGTEST_TMP"
|
3 | 3 |
cd "$AUTOPKGTEST_TMP/tests/"
|
4 | 4 |
export PYTHONWARNINGS=d
|
5 | 5 |
export I18NSPECTOR_BASEDIR=/usr/share/i18nspector
|
6 | 6 |
for py in $(py3versions -s); do
|
7 | 7 |
export I18NSPECTOR_COMMANDLINE="$py /usr/bin/i18nspector"
|
8 | |
$py run-tests --verbose 2>&1
|
|
8 |
$py -m pytest -v 2>&1
|
9 | 9 |
done
|