forked from pool/python-mocket
Markéta Machová
76b95ce162
- Add kwsyntax.patch to fix test failure with new decorator. OBS-URL: https://build.opensuse.org/request/show/910345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=33
14 lines
439 B
Diff
14 lines
439 B
Diff
Index: mocket-3.9.42/mocket/mocket.py
|
|
===================================================================
|
|
--- mocket-3.9.42.orig/mocket/mocket.py
|
|
+++ mocket-3.9.42/mocket/mocket.py
|
|
@@ -628,7 +628,7 @@ class Mocketizer(object):
|
|
t(*args, **kw)
|
|
return wrapper
|
|
|
|
- return decorator.decorator(wrapper, test)
|
|
+ return decorator.decorator(wrapper, test, kwsyntax=True)
|
|
|
|
|
|
mocketize = Mocketizer.wrap
|