//! Common utilities for OpenFIGI integration tests
//!
//! This module provides shared functionality used across all integration test modules,
//! including client creation and rate limiting utilities to ensure tests comply with
//! OpenFIGI API limits.
use OpenFIGIClient;
use Duration;
use sleep;
/// Creates a new OpenFIGI client instance for testing
///
/// Uses default configuration without authentication for basic API access.
/// This client can be used for testing unauthenticated endpoints with
/// the standard rate limits applied.
/// Adds a delay between API requests to respect rate limits
///
/// OpenFIGI allows 25 requests per minute for unauthenticated requests,
/// which equals approximately 1 request per 2.4 seconds.
///
/// This function should be called after each API request in integration tests
/// to ensure compliance with OpenFIGI's rate limiting policies.
pub async