14
0
2021-09-29 01:34:51 +00:00
committed by Git OBS Bridge
parent ab011eebab
commit 574dcfe1ad
2 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 29 01:34:27 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Use pytest to run the testsuite.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 2 09:17:37 UTC 2020 - Dirk Mueller <dmueller@suse.com> Mon Mar 2 09:17:37 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-requests-oauthlib # spec file for package python-requests-oauthlib
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -22,12 +22,11 @@ Version: 1.3.0
Release: 0 Release: 0
Summary: OAuthlib authentication support for Requests Summary: OAuthlib authentication support for Requests
License: ISC License: ISC
Group: Development/Languages/Python
URL: https://github.com/requests/requests-oauthlib URL: https://github.com/requests/requests-oauthlib
Source: https://files.pythonhosted.org/packages/source/r/requests-oauthlib/requests-oauthlib-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/requests-oauthlib/requests-oauthlib-%{version}.tar.gz
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module oauthlib >= 3.0.0} BuildRequires: %{python_module oauthlib >= 3.0.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.0.0} BuildRequires: %{python_module requests >= 2.0.0}
BuildRequires: %{python_module requests-mock} BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@@ -55,7 +54,7 @@ This project provides first-class OAuth library support for Requests.
%check %check
# Three tests initiate network traffic to httpbin.org # Three tests initiate network traffic to httpbin.org
%python_exec -m nose -e '(testCanPostBinaryData|test_content_type_override|test_url_is_native_str)' %pytest -k 'not (testCanPostBinaryData or test_content_type_override or test_url_is_native_str)'
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE