#[cfg(test)] #[cfg(feature = "py")] #[test] fn test_py() { use wild_doc::*; let dir = "./wd-test/"; if std::path::Path::new(dir).exists() { std::fs::remove_dir_all(dir).unwrap(); } std::fs::create_dir_all(dir).unwrap(); let mut wd = WildDoc::new(dir, IncludeLocal::new("./include/"), None, 1); let xml = br#""#; let r = wd.run(xml, b"").unwrap(); println!("{}", std::str::from_utf8(r.body()).unwrap()); }