use noah_sdk::apis::configuration::{ApiKey, Configuration};
use noah_sdk::apis::utilities_api;
#[tokio::test]
#[ignore] async fn test_client_creation() {
let config = Configuration {
base_path: "https://api.sandbox.noah.com/v1".to_string(),
api_key: Some(ApiKey {
prefix: None,
key: "test-api-key".to_string(),
}),
..Default::default()
};
assert_eq!(config.base_path, "https://api.sandbox.noah.com/v1");
}
#[tokio::test]
#[ignore] async fn test_get_balances() {
let config = Configuration {
base_path: "https://api.sandbox.noah.com/v1".to_string(),
api_key: Some(ApiKey {
prefix: None,
key: "test-api-key".to_string(),
}),
..Default::default()
};
let result = utilities_api::balances_get(&config, None, None, None).await;
assert!(result.is_err());
}