- Setting proper configuration variable allows to run previously

skipped tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=45
This commit is contained in:
Matej Cepl 2022-11-07 23:35:53 +00:00 committed by Git OBS Bridge
parent 9862c58229
commit f4f791291b
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 7 23:35:37 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Setting proper configuration variable allows to run previously
skipped tests.
-------------------------------------------------------------------
Mon Nov 7 14:50:21 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -74,13 +74,11 @@ export TRAVIS=true
export LANG=en_US.UTF-8
export GIT_PYTHON_TEST_GIT_REPO_BASE=${PWD}
git config --global protocol.file.allow "always"
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
# gh#gitpython-developers/GitPython#1511 for
# test_git_submodules_and_add_sm_with_new_commit and
# test_list_only_valid_submodules
%pytest -k 'not (test_git_submodules_and_add_sm_with_new_commit or test_list_only_valid_submodules or test_installation)' test
%pytest -k 'not test_installation' test
%files %{python_files}
%license LICENSE