From fdce2aee7dacbbfaad300fd6bef6dd70c0766604 Mon Sep 17 00:00:00 2001
From: Szczepan Zalega <szczepan@nitrokey.com>
Date: Mon, 27 Jan 2020 18:19:24 +0100
Subject: Change too short password to default, but short of 1 letter

---
 unittest/constants.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'unittest')

diff --git a/unittest/constants.py b/unittest/constants.py
index 9e04701..1ba52fa 100644
--- a/unittest/constants.py
+++ b/unittest/constants.py
@@ -41,7 +41,7 @@ class DefaultPasswords:
     UPDATE_TEMP = b'123update123'
     UPDATE_LONG = b'1234567890'*2
     UPDATE_TOO_LONG = UPDATE_LONG + b'x'
-    UPDATE_TOO_SHORT = b'1234567'
+    UPDATE_TOO_SHORT = UPDATE_LONG[:7]
 
 
 class DeviceErrorCode:
-- 
cgit v1.2.3