aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/src/tests/mod.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-19 16:23:40 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-19 16:23:40 -0800
commitb637dd7b4e2e8fccdfe212eb3e94bd5e2f6cd09e (patch)
tree1384da66df490da78ba6a6289ec6de77d77d6a5a /nitrocli/src/tests/mod.rs
parent372d89750d29ece0c478199e96762e8102efc3d0 (diff)
downloadnitrocli-b637dd7b4e2e8fccdfe212eb3e94bd5e2f6cd09e.tar.gz
nitrocli-b637dd7b4e2e8fccdfe212eb3e94bd5e2f6cd09e.tar.bz2
Add tests for the storage command
This change adds two tests for the storage command. The first one verifies that a proper error message is emitted if a storage command is attempted on a Pro device. The second one checks the output of the status subcommand and expected changes to it when opening or closing the encrypted volume.
Diffstat (limited to 'nitrocli/src/tests/mod.rs')
-rw-r--r--nitrocli/src/tests/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/nitrocli/src/tests/mod.rs b/nitrocli/src/tests/mod.rs
index 1f30e22..a3855f8 100644
--- a/nitrocli/src/tests/mod.rs
+++ b/nitrocli/src/tests/mod.rs
@@ -42,6 +42,7 @@ mod pin;
mod pws;
mod run;
mod status;
+mod storage;
/// A trait simplifying checking for expected errors.
pub trait UnwrapError {