From 17309629889269e99d14b4e880675682d8b6435f Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Mon, 11 Dec 2017 10:51:53 +0100 Subject: Allow to execute client-supplied function on each retry and cancel with it Signed-off-by: Szczepan Zalega --- unittest/conftest.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'unittest') diff --git a/unittest/conftest.py b/unittest/conftest.py index a53b005..d54a362 100644 --- a/unittest/conftest.py +++ b/unittest/conftest.py @@ -56,7 +56,8 @@ def C(request): print("No library file found") sys.exit(1) - C.NK_set_debug(False) + C.NK_set_debug(True) + C.NK_set_debug_level(4) nk_login = C.NK_login_auto() if nk_login != 1: print('No devices detected!') @@ -77,7 +78,7 @@ def C(request): print('Finished') request.addfinalizer(fin) - # C.NK_set_debug(True) - C.NK_set_debug_level(3) + C.NK_set_debug(True) + C.NK_set_debug_level(4) return C -- cgit v1.2.1