From f4f791291b851facc9c2c336c6d70bd49cbc52ace66590dfe2b7e79b685ad5e2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 7 Nov 2022 23:35:53 +0000 Subject: [PATCH] - 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 --- python-GitPython.changes | 6 ++++++ python-GitPython.spec | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-GitPython.changes b/python-GitPython.changes index 28ea662..1659816 100644 --- a/python-GitPython.changes +++ b/python-GitPython.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 7 23:35:37 UTC 2022 - Matej Cepl + +- Setting proper configuration variable allows to run previously + skipped tests. + ------------------------------------------------------------------- Mon Nov 7 14:50:21 UTC 2022 - Matej Cepl diff --git a/python-GitPython.spec b/python-GitPython.spec index e582e4a..1eea5e9 100644 --- a/python-GitPython.spec +++ b/python-GitPython.spec @@ -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