Skip to content

Commit

Permalink
Tests: log connected library Git version
Browse files Browse the repository at this point in the history
  • Loading branch information
szszszsz committed Sep 19, 2020
1 parent 81d6122 commit 6a56cc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unittest/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a56cc8

Please sign in to comment.