use socialhunt::hunt_in_site; use socialhunt::sites::SITES; #[test] fn valid_username_returns_valid() { for site in SITES { match hunt_in_site(site, &site.valid_username.to_string()) { Ok(res) => assert!(res, "{}: Failed", site.name), Err(err) => assert!(false, "{}: {}", site.name, err), } } }