diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2020-06-13 22:45:39 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2020-06-13 22:45:39 +0200 |
commit | d36b9d032d0f646c45e3d9d0dafcf19c79361b18 (patch) | |
tree | e94a0bbdc07e242370c70436f0bf634bebc1d34d /unittest/misc.py | |
parent | a616ac00c2cd0461d98d49b7a240ec4b73111c7d (diff) | |
parent | 9849224e27c3c82e2f4efb6e491b6975bb4ecb25 (diff) | |
download | libnitrokey-d36b9d032d0f646c45e3d9d0dafcf19c79361b18.tar.gz libnitrokey-d36b9d032d0f646c45e3d9d0dafcf19c79361b18.tar.bz2 |
Merge branch 'master' into meson
Update to latest
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 |