extern crate tvdb;
use tvdb::v2::Tvdb;

#[test]
fn basic() {
    let t = Tvdb::new("0629B785CE550C8D");
    t.login().unwrap();
    println!("{:?}", t.search("scrubs"));
    panic!();
}

extern crate tvdb;
use tvdb::v2::Tvdb;

#[test]
fn basic() {
    let t = Tvdb::new("0629B785CE550C8D");
    t.login().unwrap();
    let sr = t.search("scrubs").expect();
    for s in sr.data.iter() {
        println!("{}: ID {}", s.seriesName, s.id);
    }
}

Remove testing panic!() in test
Remove testing panic!() in test
