summaryrefslogtreecommitdiff
path: root/nitrokey/src/tests/util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nitrokey/src/tests/util.rs')
-rw-r--r--nitrokey/src/tests/util.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/nitrokey/src/tests/util.rs b/nitrokey/src/tests/util.rs
new file mode 100644
index 0000000..c6fbb8f
--- /dev/null
+++ b/nitrokey/src/tests/util.rs
@@ -0,0 +1,11 @@
+pub static ADMIN_PASSWORD: &str = "12345678";
+pub static USER_PASSWORD: &str = "123456";
+
+#[cfg(feature = "test-no-device")]
+pub type Target = ::Pro;
+
+#[cfg(feature = "test-pro")]
+pub type Target = ::Pro;
+
+#[cfg(feature = "test-storage")]
+pub type Target = ::Storage;