From fb1327a14000687cee42d5a37415bff891531e8e Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Sat, 23 Jul 2022 00:26:23 +0000 Subject: [PATCH] Update test --- qbittorrent-web-api-gen/tests/search_types.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/qbittorrent-web-api-gen/tests/search_types.rs b/qbittorrent-web-api-gen/tests/search_types.rs index efd57a2..4a21fbd 100644 --- a/qbittorrent-web-api-gen/tests/search_types.rs +++ b/qbittorrent-web-api-gen/tests/search_types.rs @@ -12,10 +12,8 @@ async fn main() -> Result<()> { 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 plugins = api.search().plugins().await?; - eprintln!("{:?}", plugins); - // let _ = api.search().results(1).send().await?; - // let _ = api.search().delete(1).await?; + // just check that the deserialization works + let _ = api.search().plugins().await?; Ok(()) }