File: unittests

package info (click to toggle)
python-tosca-parser 2.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,908 kB
  • sloc: python: 11,099; sh: 144; makefile: 26
file content (14 lines) | stat: -rwxr-xr-x 761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

export http_proxy=127.0.0.1:9
export https_proxy=127.0.0.1:9
export HTTP_PROXY=127.0.0.1:9
export HTTPS_PROXY=127.0.0.1:9
export RES_OPTIONS=attempts:0
export PYTHONPATH=.
export OSLO_PACKAGE_VERSION=$(dpkg-parsechangelog -SVersion | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~git.*//' -e 's/~bpo.*//' -e 's/~/.0/' -e 's/+dfsg1//' -e 's/+ds1//' | head -n 1)

pkgos-dh_auto_test --no-py2 \
	'toscaparser\.tests\.(?!(.*test_toscatpl\.ToscaTemplateTest\.test_multiple_policies|.*test_toscatplvalidation\.ToscaTemplateValidationTest\.test_imports_with_local_defs.*|.*test_toscatpl\.ToscaTemplateTest\.test_local_custom_defs.*|test_prereq\.CSARPrereqTest\.test_csar_invalid_import_url|test_toscatpl\.ToscaTemplateTest\.test_repositories))'