aboutsummaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2020-02-25 14:11:58 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2020-02-26 12:26:42 +0100
commitf37b771bbb8b665f4c0c1fe6f8336cf4fb458e5d (patch)
tree281cd25844da3d4ea1fd424ecd3a90049d3fa1ac /unittest
parent55f9b7293c22bbedd5a972fa8f1946dfd57d9c7a (diff)
downloadlibnitrokey-f37b771bbb8b665f4c0c1fe6f8336cf4fb458e5d.tar.gz
libnitrokey-f37b771bbb8b665f4c0c1fe6f8336cf4fb458e5d.tar.bz2
Add missing skip for lower firmware version
Diffstat (limited to 'unittest')
-rw-r--r--unittest/test_pro_bootloader.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittest/test_pro_bootloader.py b/unittest/test_pro_bootloader.py
index b33a9d7..4cb7470 100644
--- a/unittest/test_pro_bootloader.py
+++ b/unittest/test_pro_bootloader.py
@@ -45,6 +45,7 @@ def test_bootloader_run_pro_wrong_password(C):
@pytest.mark.skip_by_default
@pytest.mark.firmware
def test_bootloader_run_pro_real(C):
+ skip_if_device_version_lower_than({'P': 11})
# Not enabled due to lack of side-effect removal at this point
assert C.NK_enable_firmware_update_pro(DefaultPasswords.UPDATE) == DeviceErrorCode.STATUS_DISCONNECTED