- Skip failing tests (gh#gitpython-developers/GitPython#1511).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=44
This commit is contained in:
Matej Cepl 2022-11-07 14:50:44 +00:00 committed by Git OBS Bridge
parent fa2eba6b93
commit 9862c58229
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Nov 7 14:50:21 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Skip failing tests (gh#gitpython-developers/GitPython#1511).
-------------------------------------------------------------------
Thu Jan 14 14:19:01 UTC 2021 - mmachova@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-GitPython
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-GitPython
Version: 3.1.12.1610074031.f653af66
@ -78,7 +77,10 @@ export GIT_PYTHON_TEST_GIT_REPO_BASE=${PWD}
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
%pytest -k 'not test_installation' test
# 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
%files %{python_files}
%license LICENSE