File: unittests

package info (click to toggle)
python-omegaconf 2.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,244 kB
  • sloc: python: 26,413; makefile: 38; sh: 11
file content (14 lines) | stat: -rw-r--r-- 763 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e
set -x

CWD=$(pwd)
PYTHON3S=$(py3versions -vs)
for i in ${PYTHON3S} ; do
	python${i} setup.py install --install-layout=deb --root ${CWD}/debian/tmp
	PYTHONPATH=${CWD}/debian/tmp/usr/lib/python3/dist-packages \
		http_proxy=127.0.0.1:9 https_proxy=127.0.0.9:9 \
		HTTP_PROXY=127.0.0.1:9 HTTPS_PROXY=127.0.0.1:9 \
		PYTHON=python${i} python${i} -m pytest tests -v --disable-warnings -p no:warnings --ignore tests/test_pydev_resolver_plugin.py -k 'not test_errors[typed_DictConfig:assign_with_invalid_value] and not test_errors[path_to_float] and not test_to_yaml and not test_type_str[Path-True-pathlib.Path-False] and not test_type_str[Path-True-pathlib.Path-True] and not test_errors and not test_setitem_slice[partially-valid-input-list]'
done