deboa 0.0.9

A friendly rest client on top of hyper.
Documentation
1
2
3
4
5
6
7
8
9
use crate::cert::Identity;

#[test]
fn test_cert_init() {
    let cert = Identity::new("cert".into(), "pw".into(), None);
    assert_eq!(cert.cert(), "cert");
    assert_eq!(cert.pw(), "pw");
    assert_eq!(cert.ca(), None);
}