summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/http_funcs.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/http_funcs.rs b/tests/http_funcs.rs
index 232d3b8..b5b0e5e 100644
--- a/tests/http_funcs.rs
+++ b/tests/http_funcs.rs
@@ -9,16 +9,13 @@ use std::collections::HashMap;
use tempfile::TempDir;
use tokio;
-// Add these imports for logging
-use log::{debug, error, info};
+
+use log::{debug, info};
#[cfg(test)]
mod http_package_tests {
use super::*;
- // Helper function to initialize the logger for each test.
- // This uses `call_once` to ensure it's only initialized once,
- // even if called multiple times, preventing panics.
fn init_logger() {
let _ = env_logger::builder().is_test(true).try_init();
}