Skip to content

Commit

Permalink
Added test on caching
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Jan 29, 2024
1 parent d9c18db commit fe78006
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/it/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ async fn multi_day_legs() -> Result<(), Box<dyn Error>> {
assert_eq!(legs.len(), 6);
Ok(())
}

#[tokio::test]
async fn fs_azure() -> Result<(), Box<dyn Error>> {
let client = flights::fs_azure::initialize_anonymous("privatejets", "data");

let _ = flights::positions("459cd3", date!(2020 - 01 - 01), Some(&client)).await?;

Ok(())
}

0 comments on commit fe78006

Please sign in to comment.