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