aboutsummaryrefslogtreecommitdiff
path: root/src/tests/no_device.rs
blob: 04c5c8a938eb43a63aec8ff8200ba970ea20cf4d (plain)
1
2
3
4
5
6
7
8
9
use Model;

#[test]
#[cfg_attr(not(feature = "test-no-device"), ignore)]
fn connect() {
    assert!(::connect().is_err());
    assert!(::connect_model(Model::Storage).is_err());
    assert!(::connect_model(Model::Pro).is_err());
}