14
0
forked from pool/python-zeep
Files
python-zeep/xfail-network-tests.patch
Steve Kowalik 155bebfe90 - Update to 4.2.1:
* Fix error regarding closing session in async transport (#1347)
  * Drop support for Python 3.6
  * Allow embedding CDATA elements in simple types (#1339)
  * Allow to pass in a pre parsed Document (#1330)
  * Fix httpx DeprecationWarning for post data (#1326)
  * Add BinaryMemorySignature (#1300)
  * Fix IndexError when empty body response (#1287)
  * Add support for context manager on Client (#1166)
  * Allow Ws Addressing plugin to use a different URL (#1328)
  * Accept strings for xsd base64Binary (#1072)
- Drop patches httpx-test.patch, python-zeep-no-mock.patch:
  * Included upstream.
- Add patch xfail-network-tests.patch:
  * XFAIL, rather than FAIL tests that require a network connection.
- Switch to autosetup and pyproject macros.
- BuildRequire xmlsec unilaterally and install the openssl library.
- No longer ignore some test files

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeep?expand=0&rev=18
2023-12-15 06:37:51 +00:00

14 lines
477 B
Diff

Index: zeep-4.2.1/tests/conftest.py
===================================================================
--- zeep-4.2.1.orig/tests/conftest.py
+++ zeep-4.2.1/tests/conftest.py
@@ -11,7 +11,7 @@ def no_requests(request, monkeypatch):
return
def func(*args, **kwargs):
- pytest.fail("External connections not allowed during tests.")
+ pytest.xfail("External connections not allowed during tests.")
monkeypatch.setattr("socket.socket", func)