MCPcopy Create free account
hub / github.com/apache/paimon-rust / test_get_database

Function test_get_database

crates/paimon/tests/rest_api_test.rs:103–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102#[tokio::test]
103async fn test_get_database() {
104 let ctx = setup_test_server(vec!["default"]).await;
105
106 let db_resp = ctx.api.get_database("default").await.unwrap();
107 assert_eq!(db_resp.name, Some("default".to_string()));
108}
109
110#[tokio::test]
111async fn test_error_responses_status_mapping() {

Callers

nothing calls this directly

Calls 2

setup_test_serverFunction · 0.85
get_databaseMethod · 0.45

Tested by

no test coverage detected