From ffef47d3511c28948047d16ead5b8e61d416cd51ffb3d51281616ba1e992c72c Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Tue, 6 Apr 2021 13:01:02 +0000 Subject: [PATCH] Accepting request 880088 from home:robert_munteanu:branches:network:utilities Disable tests that fail in OBS OBS-URL: https://build.opensuse.org/request/show/880088 OBS-URL: https://build.opensuse.org/package/show/network:utilities/httpie?expand=0&rev=18 --- httpie.changes | 5 +++++ httpie.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/httpie.changes b/httpie.changes index 48c17e4..b7f8492 100644 --- a/httpie.changes +++ b/httpie.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 19 12:26:10 UTC 2021 - Robert Munteanu + +- Disable tests that fail in OBS + ------------------------------------------------------------------- Wed Jan 20 08:08:04 UTC 2021 - Dirk Müller diff --git a/httpie.spec b/httpie.spec index 084b9d1..bb43df2 100644 --- a/httpie.spec +++ b/httpie.spec @@ -42,8 +42,8 @@ Provides: python38-httpie = 2.3.0 Obsoletes: python3-httpie < 2.3.0 Obsoletes: python38-httpie < 2.3.0 BuildArch: noarch -Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(post): update-alternatives +Requires(postun):update-alternatives %description HTTPie consists of a single "http" command designed for debugging and @@ -71,7 +71,8 @@ install -D -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/http.1 %check export LC_CTYPE=en_US.UTF-8 export PYTHONPATH=$PWD -python3 -m py.test +# disable tests that fail on OBS with [Errno -3] Temporary failure in name resolution +pytest --deselect=tests/test_uploads.py %files %doc AUTHORS.rst CHANGELOG.rst README.rst