forked from pool/python-setuptools
Accepting request 816623 from home:bnavigator:branches:devel:languages:python
- use local source dir for pytest imports gh#openSUSE/python-rpm-macros#48 OBS-URL: https://build.opensuse.org/request/show/816623 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=197
This commit is contained in:
committed by
Git OBS Bridge
parent
7bfc82bdea
commit
9b0c40f6d2
@@ -135,6 +135,8 @@ find ./ -type f -name \*.py -exec sed -i \
|
||||
# the 4 skipped test rely on the bundled packages but they are
|
||||
# not available on virtualenv; this is expected behaviour
|
||||
export LANG=en_US.UTF-8
|
||||
# tests need imports local source dir
|
||||
export PYTHONPATH=$(pwd)
|
||||
%pytest -k 'not (test_clean_env_install or test_pip_upgrade_from_source or test_test_command_install_requirements or test_no_missing_dependencies)'
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user