File: unittests

package info (click to toggle)
python-oslo.i18n 6.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 488 kB
  • sloc: python: 1,293; makefile: 25; sh: 7
file content (10 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e
set -x
export OSLO_PACKAGE_VERSION=$(dpkg-parsechangelog -SVersion | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~git.*//' -e 's/~/.0/' -e 's/+dfsg1//' -e 's/+ds1//' | head -n 1)

CWD=$(pwd)
PYTHON3S=$(py3versions -vs)
pkgos-dh_auto_install --in-tmp --no-py2
pkgos-dh_auto_test --no-py2 'oslo_i18n\.tests\.(?!test_message\.MessageTestCase\.test_translate_message_bad_translation)'