diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2020-06-15 19:15:17 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2020-06-15 19:15:17 +0200 |
commit | 3dd267e062a2f3e182d84f15e13b15b6dd4958e0 (patch) | |
tree | 8994b48f6aa359bc52694f1b732c7f1b5ffc4184 /unittest/misc.py | |
parent | dd0cdcd2130699be8dde5dbadcf18cd9c00ef78f (diff) | |
parent | 89a73d88c9026b6347bea113896d24e419c4370c (diff) | |
download | libnitrokey-3dd267e062a2f3e182d84f15e13b15b6dd4958e0.tar.gz libnitrokey-3dd267e062a2f3e182d84f15e13b15b6dd4958e0.tar.bz2 |
Merge branch 'master' into get_status
Update to latest codebase
Diffstat (limited to 'unittest/misc.py')
-rw-r--r-- | unittest/misc.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unittest/misc.py b/unittest/misc.py index e9e1753..6a0d486 100644 --- a/unittest/misc.py +++ b/unittest/misc.py @@ -72,3 +72,7 @@ def is_long_OTP_secret_handled(C): def has_binary_counter(C): return (not is_storage(C)) or (is_storage(C) and get_devices_firmware_version(C) >= 54) + + +def bb(x): + return bytes(x, encoding='ascii')
\ No newline at end of file |