diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-20 14:52:00 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-20 14:52:00 -0800 |
commit | 1c6df6757c1ca4972e298011c9548c34051fa887 (patch) | |
tree | 262c8bedc52a75d93f725ed3a777a79363d90f71 /nitrokey/src/device.rs | |
parent | 8b72cb852a8da420d6d64f83aa0cbf256f36dd68 (diff) | |
download | nitrocli-1c6df6757c1ca4972e298011c9548c34051fa887.tar.gz nitrocli-1c6df6757c1ca4972e298011c9548c34051fa887.tar.bz2 |
Add tests for the lock command
This change adds tests for the lock command. For the Nitrokey Pro we
cannot test too much because the only side-effect is that the password
safe is closed and it will be opened automatically again by virtue of
our non-interactive testing methodology.
For Storage devices we verify that the encrypted volume is closed, which
is a documented side-effect.
Diffstat (limited to 'nitrokey/src/device.rs')
0 files changed, 0 insertions, 0 deletions