aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2020-09-07 15:49:29 -0700
committerDaniel Mueller <deso@posteo.net>2020-09-07 15:52:07 -0700
commita4dc74f23ed1ac45a5db497499c2ac334ab295ce (patch)
tree9bd5d81d01edd5cc52b7bd47ffba12a0c6f1bdc9
parent5de1cc408bbce296801969f563c5ba10fe504b02 (diff)
downloadnitrocli-a4dc74f23ed1ac45a5db497499c2ac334ab295ce.tar.gz
nitrocli-a4dc74f23ed1ac45a5db497499c2ac334ab295ce.tar.bz2
fixup! Refactor connection handling
-rw-r--r--src/tests/status.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/tests/status.rs b/src/tests/status.rs
index 7946929..fe69d78 100644
--- a/src/tests/status.rs
+++ b/src/tests/status.rs
@@ -21,13 +21,6 @@ fn not_found() {
assert_eq!(err, "Nitrokey device not found");
}
-#[test_device]
-fn not_found_pro() {
- let res = Nitrocli::new().handle(&["status", "--model=pro"]);
- let err = res.unwrap_err().to_string();
- assert_eq!(err, "Nitrokey device not found (filter: model=pro)");
-}
-
#[test_device(pro)]
fn output_pro(model: nitrokey::Model) -> anyhow::Result<()> {
let re = regex::Regex::new(