remove: Remove unnecssary tests

This commit is contained in:
sprites0
2025-08-25 21:12:34 -04:00
parent 80506a7a43
commit ad4a8cd365
2 changed files with 0 additions and 21 deletions

View File

@ -8,8 +8,6 @@ pub mod config;
pub mod network; pub mod network;
pub mod service; pub mod service;
pub mod sources; pub mod sources;
#[cfg(test)]
mod tests;
pub mod utils; pub mod utils;
use std::sync::Arc; use std::sync::Arc;

View File

@ -1,19 +0,0 @@
use std::path::Path;
use crate::pseudo_peer::{prelude::*, BlockSourceType};
#[tokio::test]
async fn test_block_source_config_s3() {
let config = BlockSourceConfig::s3("test-bucket".to_string()).await;
assert!(
matches!(config.source_type, BlockSourceType::S3 { bucket } if bucket == "test-bucket")
);
}
#[tokio::test]
async fn test_block_source_config_local() {
let config = BlockSourceConfig::local("/test/path".into());
assert!(
matches!(config.source_type, BlockSourceType::Local { path } if path == Path::new("/test/path"))
);
}