Skip to content

Commit d2c26c8

Browse files
committed
Ignore tests that require API ket/local database
1 parent 389d3bb commit d2c26c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

popgetter-llm/src/chain.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,13 +307,15 @@ mod tests {
307307

308308
const TEST_PROMPT: &str = "Test prompt";
309309

310+
#[ignore = "API key/local database required"]
310311
#[tokio::test]
311312
async fn test_llm_example() {
312313
let open_ai = azure_open_ai_gpt4o(&api_key().unwrap());
313314
let response = open_ai.invoke(TEST_PROMPT).await.unwrap();
314315
println!("{}", response);
315316
}
316317

318+
#[ignore = "API key/local database required"]
317319
#[tokio::test]
318320
async fn geopgraphic_entries_should_be_extracted() {
319321
let expected_entries = vec![
@@ -336,6 +338,7 @@ mod tests {
336338
.all(|(actual, expected)| actual.eq(&expected)))
337339
}
338340

341+
#[ignore = "API key/local database required"]
339342
#[tokio::test]
340343
async fn data_request_spec_should_be_extracted() {
341344
let _ = env_logger::try_init();
@@ -352,6 +355,7 @@ mod tests {
352355
println!("{:?}", result);
353356
}
354357

358+
#[ignore = "API key/local database required"]
355359
#[tokio::test]
356360
async fn data_request_spec_should_be_downloaded() {
357361
let _ = env_logger::try_init();

0 commit comments

Comments
 (0)