From 6a56cc8d5dffa41f0e5327fade6edf1c69a1abcc Mon Sep 17 00:00:00 2001
From: Szczepan Zalega <szczepan@nitrokey.com>
Date: Sat, 19 Sep 2020 16:51:14 +0200
Subject: Tests: log connected library Git version

---
 unittest/conftest.py | 1 +
 1 file changed, 1 insertion(+)

(limited to 'unittest')

diff --git a/unittest/conftest.py b/unittest/conftest.py
index 17d9ef5..88eab81 100644
--- a/unittest/conftest.py
+++ b/unittest/conftest.py
@@ -98,6 +98,7 @@ def get_library(request, allow_offline=False):
         model = C.NK_get_device_model()
         model = 'P' if model == 1 else 'S' if model == 2 else 'U'
         device_type = (model, firmware_version)
+        print('Connected library: {}'.format(gs(C.NK_get_library_version())))
         print('Connected device: {} {}'.format(model, firmware_version))
 
     # assert C.NK_first_authenticate(DefaultPasswords.ADMIN, DefaultPasswords.ADMIN_TEMP) == DeviceErrorCode.STATUS_OK
-- 
cgit v1.2.3