File: run-testsuite

package info (click to toggle)
tryton-modules-document-incoming-ocr-typless 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 380 kB
  • sloc: python: 520; xml: 30; makefile: 11; sh: 3
file content (6 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (204)
1
2
3
4
5
6
#!/bin/sh -e

module=$(python3 setup.py --name | sed s/trytond_//)

cd /usr/lib/python3/dist-packages/trytond
DB_NAME=:memory: python3 -m unittest discover -s trytond.modules."$module".tests -vv