aboutsummaryrefslogtreecommitdiff
path: root/tests/util
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util')
-rw-r--r--tests/util/mod.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/util/mod.rs b/tests/util/mod.rs
new file mode 100644
index 0000000..257586e
--- /dev/null
+++ b/tests/util/mod.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 = nitrokey::Pro;
+
+#[cfg(feature = "test-pro")]
+pub type Target = nitrokey::Pro;
+
+#[cfg(feature = "test-storage")]
+pub type Target = nitrokey::Storage;