aboutsummaryrefslogtreecommitdiff
path: root/unittest/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/conftest.py')
-rw-r--r--unittest/conftest.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/unittest/conftest.py b/unittest/conftest.py
index 7a4e2a2..49b4f02 100644
--- a/unittest/conftest.py
+++ b/unittest/conftest.py
@@ -1,5 +1,5 @@
"""
-Copyright (c) 2015-2018 Nitrokey UG
+Copyright (c) 2015-2019 Nitrokey UG
This file is part of libnitrokey.
@@ -31,6 +31,9 @@ basicConfig(format='* %(relativeCreated)6d %(filename)s:%(lineno)d %(message)s',
log = getLogger('conftest')
print = log.debug
+def get_device_type():
+ return device_type
+
def skip_if_device_version_lower_than(allowed_devices):
global device_type