Report generated on 17-Nov-2019 at 15:58:48

Environment

Platform Linux-4.15.0-1028-gcp-x86_64-with-debian-stretch-sid
Python 3.5.6

Summary

223 tests ran in 1.71 seconds.

(Un)check the boxes to filter the results.

223 passed 40 skipped 0 failed 0 errors 0 expected failures 0 unexpected passes 0 rerun

Results

Result Test Duration Links
Passed decopatch/tests/test_doc.py::test_doc_add_tag_function[flat_mode=False] 0.00
----------------------------- Captured stdout call -----------------------------
Help on function add_tag in module decopatch.tests.test_doc: add_tag(tag='hi!') Example decorator to add a 'tag' attribute to a function. :param tag: the 'tag' value to set on the decorated function (default 'hi!). None
Passed decopatch/tests/test_doc.py::test_doc_add_tag_function[flat_mode=True] 0.00
----------------------------- Captured stdout call -----------------------------
Help on function add_tag in module decopatch.tests.test_doc: add_tag(tag='hi!') Example decorator to add a 'tag' attribute to a function. :param tag: the 'tag' value to set on the decorated function (default 'hi!). None
Passed decopatch/tests/test_doc.py::test_doc_say_hello[nested] 0.00
No log output captured.
Passed decopatch/tests/test_doc.py::test_doc_say_hello[flat] 0.00
No log output captured.
Passed decopatch/tests/test_doc.py::test_doc_say_hello[double-flat] 0.00
No log output captured.
Passed decopatch/tests/test_doc.py::test_doc_add_tag_class_and_function[flat_mode=False] 0.00
----------------------------- Captured stdout call -----------------------------
Help on function add_tag in module decopatch.tests.test_doc: add_tag(tag='hi!') Example decorator to add a 'tag' attribute to a function or class. It can be used with and without parenthesis, with and without arguments. :param tag: the 'tag' value to set on the decorated item (default 'hi!). None
Passed decopatch/tests/test_doc.py::test_doc_add_tag_class_and_function[flat_mode=True] 0.00
----------------------------- Captured stdout call -----------------------------
Help on function add_tag in module decopatch.tests.test_doc: add_tag(tag='hi!') Example decorator to add a 'tag' attribute to a function or class. It can be used with and without parenthesis, with and without arguments. :param tag: the 'tag' value to set on the decorated item (default 'hi!). None
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_mandatory[uses_introspection=True-nested_mode=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_mandatory[uses_introspection=True-nested_mode=False] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_mandatory[uses_introspection=False-nested_mode=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_mandatory[uses_introspection=False-nested_mode=False] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_optional 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_say_hello 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_class_tag_mandatory[uses_introspection=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_class_tag_mandatory[uses_introspection=False] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_nested_mode_tag_mandatory 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_mandatory_protected[uses_introspection=True-kwonly=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_mandatory_protected[uses_introspection=False-kwonly=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_optional_nonprotected[kwonly=False] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_optional_nonprotected[kwonly=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_optional_protected[introspection=True-kwonly=False] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_optional_protected[introspection=True-kwonly=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_optional_protected[introspection=False-kwonly=False] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_doc_impl_first_tag_optional_protected[introspection=False-kwonly=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_varpos_and_decorated_before_in_flat_mode 0.00
No log output captured.
Passed decopatch/tests/test_doc_advanced.py::test_kwargs 0.00
No log output captured.
Passed decopatch/tests/test_doc_disambiguation.py::test_no_args[flat_mode=False] 0.00
No log output captured.
Passed decopatch/tests/test_doc_disambiguation.py::test_no_args[flat_mode=True] 0.00
No log output captured.
Passed decopatch/tests/test_doc_disambiguation.py::test_mandatory_kwargs[flat_mode=False] 0.00
----------------------------- Captured stdout call -----------------------------
Help on function replace_with in module decopatch.main: replace_with(*, replacement) Decorator to replace anything with the <replacement> object.
Passed decopatch/tests/test_doc_disambiguation.py::test_mandatory_kwargs[flat_mode=True] 0.00
----------------------------- Captured stdout call -----------------------------
Help on function replace_with in module decopatch.main: replace_with(*, replacement) Decorator to replace anything with the <replacement> object.
Passed decopatch/tests/test_doc_disambiguation.py::test_optional_kwargs[flat_mode=False] 0.00
----------------------------- Captured stdout call -----------------------------
Help on function replace_with in module decopatch.tests._test_doc_py3: replace_with(*, replacement='hello') Decorator to replace anything with the <replacement> object.
Passed decopatch/tests/test_doc_disambiguation.py::test_optional_kwargs[flat_mode=True] 0.00
----------------------------- Captured stdout call -----------------------------
Help on function replace_with in module decopatch.tests._test_doc_py3: replace_with(*, replacement='hello') Decorator to replace anything with the <replacement> object.
Passed decopatch/tests/test_introspection.py::test_on_functions 0.00
No log output captured.
Passed decopatch/tests/test_introspection_base.py::test_introspection[call_mode=0-isclass=False] 0.00
No log output captured.
Passed decopatch/tests/test_introspection_base.py::test_introspection[call_mode=0-isclass=True] 0.00
No log output captured.
Passed decopatch/tests/test_introspection_base.py::test_introspection[call_mode=1-isclass=False] 0.00
No log output captured.
Passed decopatch/tests/test_introspection_base.py::test_introspection[call_mode=1-isclass=True] 0.00
No log output captured.
Passed decopatch/tests/test_introspection_base.py::test_introspection[call_mode=2-isclass=False] 0.00
No log output captured.
Passed decopatch/tests/test_introspection_base.py::test_introspection[call_mode=2-isclass=True] 0.00
No log output captured.
Passed decopatch/tests/test_issues.py::test_notnamed_flat_mode_varpositional[position=0] 0.00
No log output captured.
Passed decopatch/tests/test_issues.py::test_notnamed_flat_mode_varpositional[position=1] 0.00
No log output captured.
Passed decopatch/tests/test_issues.py::test_named_flat_mode_varpositional[position=0] 0.00
No log output captured.
Passed decopatch/tests/test_issues.py::test_named_flat_mode_varpositional[position=1] 0.00
No log output captured.
Passed decopatch/tests/test_issues.py::test_disambiguation_during_binding 0.00
No log output captured.
Passed decopatch/tests/test_issues.py::test_varpositional 0.00
No log output captured.
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo() Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(goo) Expected ERROR: 'NotADecoratorError' because We are not able to disambiguate but hopefully users will realize
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo('hello') Expected ERROR: 'TypeError' because we correctly disambiguate by default since the argument is non-callable
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because we correctly disambiguate by default since the argument is non-callable
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(replacement=goo) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(dummy='hello') Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(goo, 'hello') Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo('hello', goo) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=False-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo() Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(goo) Expected ERROR: 'NotADecoratorError' because We are not able to disambiguate but hopefully users will realize
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo('hello') Expected ERROR: 'TypeError' because we correctly disambiguate by default since the argument is non-callable
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because we correctly disambiguate by default since the argument is non-callable
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(replacement=goo) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(dummy='hello') Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(goo, 'hello') Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo('hello', goo) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[easy_0_args()_flatmode_kwonly=True-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*_) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected ERROR: 'TypeError' because python does not allow our decorator to be called with more than 1 positional,
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo() Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo(goo) Expected ERROR: 'NotADecoratorError' because We are not able to disambiguate but hopefully users will realize
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo('hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo(replacement=goo) Expected ERROR: 'TypeError' because decorator impl does not accept keyword args
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo(dummy='hello') Expected ERROR: 'TypeError' because decorator impl does not accept keyword args
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because decorator impl does not accept keyword args
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo(goo, 'hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo('hello', goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[case_hard_varpositional-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(*args) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo Expected ERROR: 'InvalidMandatoryArgError' because a no-parenthesis usage will be declared by the default disambiguator or the stack introspecter as decorated target
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow f() if f has 1 mandatory arg
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(goo) Expected ERROR: 'InvalidMandatoryArgError' because calling with a single positional callablewill be declared by the default disambiguator or the stack introspecter as decorated target, andtherefore it will say that there is something missing
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo('hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo(replacement=goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'replacement' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(replacement=goo)
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(dummy='hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(goo, 'hello') Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo('hello', goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[default_1m_arg(dummy)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo Expected ERROR: 'InvalidMandatoryArgError' because a no-parenthesis usage will be declared by the default disambiguator or the stack introspecter as decorated target
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow f() if f has 1 mandatory arg
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(goo) Expected ERROR: 'AssertionError' because The stack introspector will work correctly. So the decorated functionwill be replaced by foo. Which is not`goo`
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo('hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo(replacement=goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'replacement' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(replacement=goo)
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(dummy='hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(goo, 'hello') Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo('hello', goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[introspection_1m_arg(dummy)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo Expected ERROR: 'InvalidMandatoryArgError' because using the decorator without parenthesis mimics usage with a single arg.
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow f() if f has 1 mandatory arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo) Expected ERROR: 'InvalidMandatoryArgError' because calling a decorator with a callable as first and only non-default argument leads by default to an error
Skipped decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo('hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: This decorator does not access a noncallable positional arg')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo('hello')
Skipped decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: This decorator does not access a noncallable positional arg')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo(dummy='hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'dummy' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(dummy='hello')
Skipped decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'dummy' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo, 'hello') Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo('hello', goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=False-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo Expected ERROR: 'InvalidMandatoryArgError' because a no-parenthesis usage will be declared by the disambiguator as decorated target
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow f() if f has 1 mandatory arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo('hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: This decorator does not access a noncallable positional arg')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo('hello')
Skipped decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: This decorator does not access a noncallable positional arg')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo(dummy='hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'dummy' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(dummy='hello')
Skipped decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'dummy' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo, 'hello') Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo('hello', goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=False-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo Expected ERROR: 'InvalidMandatoryArgError' because using the decorator without parenthesis mimics usage with a single arg.
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow f() if f has 1 mandatory arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo) Expected ERROR: 'InvalidMandatoryArgError' because calling a decorator with a callable as first and only non-default argument leads by default to an error
Skipped decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo('hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: This decorator does not access a noncallable positional arg')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo('hello')
Skipped decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: This decorator does not access a noncallable positional arg')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo(dummy='hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'dummy' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(dummy='hello')
Skipped decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'dummy' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo, 'hello') Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo('hello', goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(default)_1m_arg(replacement)_kwonly=True-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo Expected ERROR: 'InvalidMandatoryArgError' because a no-parenthesis usage will be declared by the disambiguator as decorated target
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow f() if f has 1 mandatory arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo('hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: This decorator does not access a noncallable positional arg')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo('hello')
Skipped decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: This decorator does not access a noncallable positional arg')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo(dummy='hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'dummy' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(dummy='hello')
Skipped decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, "Skipped: decorator impl does not have a 'dummy' arg")
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo, 'hello') Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo('hello', goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[protected(explicit)_1m_arg(replacement)_kwonly=True-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected ERROR: 'TypeError' because python does not allow 2 args if f has 1 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo(goo) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo('hello') Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo(replacement=goo) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo(dummy='hello') Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo(goo, 'hello') Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo('hello', goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo('hello', goo)
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[easy_2m_args(replacement, dummy)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement, dummy) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo)
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo(goo) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo('hello') Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo(replacement=goo) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo(dummy='hello') Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Skipped decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo(goo, 'hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo(goo, 'hello')
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo('hello', goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, replacement)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, replacement) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo() Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo(goo) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo('hello') Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo(replacement=goo) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo(dummy='hello') Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected ERROR: 'TypeError' because python does not allow < 2 args if f has 2 arg
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo(goo, 'hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo('hello', goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[easy_2m_args(dummy, dummy2)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy, dummy2) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo() Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the first positional arg is supposed not to be the callable here')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(goo)
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo('hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(dummy='hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(goo, 'hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(goo, 'hello')
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo('hello', goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[default_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo() Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the first positional arg is supposed not to be the callable here')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(goo)
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo('hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo('hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(dummy='hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(goo, 'hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(goo, 'hello')
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo('hello', goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo('hello', goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt(dummy=DEFAULT_DUMMY_VALUE, replacement=None)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(dummy=12, replacement=None) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo() Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo) Expected ERROR: 'NotADecoratorError' because No explicit exception is raised but since a double-call is made, user will probably realize that something is wrong
Skipped decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo('hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the first positional arg is supposed to be the callable here')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo('hello')
Skipped decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the first positional arg is supposed to be the callable here')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(dummy='hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo, 'hello') Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo('hello', goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo('hello', goo)
Passed decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[unprotected (default)_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo)
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo() Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo('hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the first positional arg is supposed to be the callable here')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo('hello')
Skipped decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the first positional arg is supposed to be the callable here')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(dummy='hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo, 'hello') Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo('hello', goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo('hello', goo)
Passed decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[introspection_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo)
Passed decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo()] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo() Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo('hello')] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the first positional arg is supposed to be the callable here')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo('hello')
Skipped decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(DEFAULT_DUMMY_VALUE)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the first positional arg is supposed to be the callable here')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE)
Passed decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(replacement=goo)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(replacement=goo) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(dummy='hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(dummy='hello') Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(dummy=DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(dummy=DEFAULT_DUMMY_VALUE) Expected SUCCESS
Passed decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo, 'hello')] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo, 'hello') Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo('hello', goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo('hello', goo)
Passed decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(goo, DEFAULT_DUMMY_VALUE)] 0.00
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(goo, DEFAULT_DUMMY_VALUE) Expected SUCCESS
Skipped decopatch/tests/test_main2.py::test_all[custom_disambiguator_2opt_callable_first(replacement=None, dummy=DEFAULT_DUMMY_VALUE)-@replace_by_foo(DEFAULT_DUMMY_VALUE, goo)] 0.00
('/home/travis/build/smarie/python-decopatch/decopatch/tests/test_main2.py', 409, 'Skipped: the order of positional args in the test does not match')
----------------------------- Captured stdout call -----------------------------
Generated decorator : replace_by_foo(replacement=None, dummy=12) Calling it as @replace_by_foo(DEFAULT_DUMMY_VALUE, goo)
Passed decopatch/tests/test_so.py::test_so_flat 0.00
----------------------------- Captured stdout call -----------------------------
hello from before run a -1 b 2 hello from before run a 100 b 2
Passed decopatch/tests/test_so.py::test_so_double_flat 0.00
----------------------------- Captured stdout call -----------------------------
hello from before run a -1 b 2 hello from before run a 100 b 2
Passed decopatch/tests/test_so.py::test_so_wrap[style=flat] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_wrap[style=double-flat] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_2[mode=flat] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_2[mode=double-flat] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_3[mode=flat] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_3[mode=double-flat] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_4[mode=None] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_4[mode=flat] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_5[mode=no-deco] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_5[mode=None] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_5[mode=flat] 0.00
No log output captured.
Passed decopatch/tests/test_so.py::test_so_6 0.00
No log output captured.