Codebase list i18nspector / ba38708
Switch from nose to pytest Stuart Prescott 1 year, 8 months ago
3 changed file(s) with 5 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
66 dh-python,
77 python3-all,
88 Build-Depends-Indep:
9 python3-nose,
9 python3-pytest,
1010 python3-polib,
1111 python3-rply,
1212 Homepage: https://jwilk.net/software/i18nspector
00 Tests: i18nspector
11 Depends:
2 locales,
23 python3-all,
3 python3-nose,
4 python3-pytest,
45 i18nspector
00 #!/bin/sh
11 set -e -u
2 cp -a tests/ data/ doc/ "$AUTOPKGTEST_TMP"
2 cp -a pytest.ini tests/ data/ doc/ "$AUTOPKGTEST_TMP"
33 cd "$AUTOPKGTEST_TMP/tests/"
44 export PYTHONWARNINGS=d
55 export I18NSPECTOR_BASEDIR=/usr/share/i18nspector
66 for py in $(py3versions -s); do
77 export I18NSPECTOR_COMMANDLINE="$py /usr/bin/i18nspector"
8 $py run-tests --verbose 2>&1
8 $py -m pytest -v 2>&1
99 done