Update test

This commit is contained in:
Joel Wachsler 2022-07-23 00:26:23 +00:00
parent dcacdcda9c
commit fb1327a140

View File

@ -12,10 +12,8 @@ async fn main() -> Result<()> {
let api = Api::login(BASE_URL, USERNAME, PASSWORD).await?; let api = Api::login(BASE_URL, USERNAME, PASSWORD).await?;
let _ = api.search().install_plugin("https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/legittorrents.py").await?; let _ = api.search().install_plugin("https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/legittorrents.py").await?;
let plugins = api.search().plugins().await?; // just check that the deserialization works
eprintln!("{:?}", plugins); let _ = api.search().plugins().await?;
// let _ = api.search().results(1).send().await?;
// let _ = api.search().delete(1).await?;
Ok(()) Ok(())
} }