File: unit-tests

package info (click to toggle)
unittest2 1.1.0-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 832 kB
  • sloc: python: 7,664; sh: 19; makefile: 8
file content (10 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# autopkgtest check: run unittest2 unit tests
# (C) 2015 Canonical Ltd.
# Author: Zygmunt Krynicki <zygmunt.krynicki@canonical.com> 

set -e
# NOTE: tests have to run from the unittest2 installation directory
cd /usr/lib/python3/dist-packages/unittest2
unit2 -v 2>&1
echo "unit-tests: OK"