14
0
forked from pool/python-zeep
Files
python-zeep/pytest4.patch
Tomáš Chvátal ad0bbc3e30 - Add patches to fix build with current pytests (From upstream PRs):
* pytest4.patch
  * pytest5.patch
- Tweak the deps to stay resolvable

- Fix unit tests
- Use better way to handle tornado version compatibility.

- Don't allow python-tornado >= 5

- update to 3.4.0
  * Allow passing xsd.Nil to sequences
  * Add support for passing custom digest and signature methods during WSSE
    signing
  * Fix path resolving during XSD imports

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zeep?expand=0&rev=2
2019-11-08 07:33:58 +00:00

24 lines
775 B
Diff

From d8b162ec931246e4d4b2a6aadf036b444fa00dbb Mon Sep 17 00:00:00 2001
From: Felix Yan <felixonmars@archlinux.org>
Date: Sat, 9 Mar 2019 14:45:55 +0800
Subject: [PATCH] Update test requirements
Tests pass here with the updated versions.
---
tests/conftest.py | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
Index: zeep-3.4.0/tests/conftest.py
===================================================================
--- zeep-3.4.0.orig/tests/conftest.py
+++ zeep-3.4.0/tests/conftest.py
@@ -11,7 +11,7 @@ pytest.register_assert_rewrite("tests.ut
@pytest.fixture(autouse=True)
def no_requests(request, monkeypatch):
- if request.node.get_marker("requests"):
+ if request.node.get_closest_marker('requests'):
return
def func(*args, **kwargs):