Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrusso8 committed Apr 27, 2024
1 parent 95565c1 commit 08a5f45
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,26 +517,6 @@ mod tests {

()
}
#[tokio::test]
async fn test_list_databases() -> Result<(), SparkError> {
let spark = setup().await;

let res = spark.clone().catalog().listDatabases(None).await?;

assert_eq!(4, res.num_columns());
assert!(res.num_rows() >= 1);

let res = spark
.clone()
.catalog()
.listDatabases(Some("default"))
.await?;

assert_eq!(4, res.num_columns());
assert_eq!(1, res.num_rows());

Ok(())
}

#[tokio::test]
async fn test_get_database() -> Result<(), SparkError> {
Expand Down

0 comments on commit 08a5f45

Please sign in to comment.