From a4dc74f23ed1ac45a5db497499c2ac334ab295ce Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Mon, 7 Sep 2020 15:49:29 -0700 Subject: fixup! Refactor connection handling --- src/tests/status.rs | 7 ------- 1 file changed, 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( -- cgit v1.2.3