From 6acdf2431cd5f15f1cdf32f0c795b8737e36b8c5 Mon Sep 17 00:00:00 2001 From: NexVeridian Date: Tue, 17 Dec 2024 13:58:52 -0800 Subject: [PATCH] tests: drop serial_test --- Cargo.toml | 17 ++++++++--------- src/util.rs | 4 ---- tests/integration.rs | 4 ---- 3 files changed, 8 insertions(+), 17 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index aa79d34..80cc4c5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,14 +6,14 @@ license = "MIT OR Apache-2.0" [dependencies] polars = { version = "0.32", features = [ - "lazy", - "strings", - "parquet", - "round_series", - "lazy_regex", - "json", - "object", - "dtype-struct", + "lazy", + "strings", + "parquet", + "round_series", + "lazy_regex", + "json", + "object", + "dtype-struct", ] } reqwest = { version = "0.12", features = ["blocking", "gzip"] } glob = { version = "0.3" } @@ -30,6 +30,5 @@ lazy_static = "1.4" anyhow = "1.0" [dev-dependencies] -serial_test = "3.1" rstest = "0.23" pretty_assertions = "1.4" diff --git a/src/util.rs b/src/util.rs index 57cc7bd..7a12061 100644 --- a/src/util.rs +++ b/src/util.rs @@ -586,11 +586,9 @@ mod tests { use super::*; use crate::test_utils::*; use pretty_assertions::assert_eq; - use serial_test::serial; use std::fs; #[test] - #[serial] fn read_write_parquet() -> Result<(), Error> { let test_df = defualt_df(&[Some("COIN")], &[Some("COINBASE")])?; @@ -603,7 +601,6 @@ mod tests { } #[test] - #[serial] fn arkw_format_arkb() -> Result<(), Error> { let test_df = defualt_df( &[None::<&str>, Some("ARKB"), Some("ARKB")], @@ -631,7 +628,6 @@ mod tests { } #[test] - #[serial] fn arkf_format_arkb() -> Result<(), Error> { let test_df = defualt_df( &[None::<&str>, Some("ARKB"), Some("ARKB")], diff --git a/tests/integration.rs b/tests/integration.rs index 948fce0..0bb3522 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -2,13 +2,11 @@ use anyhow::{Error, Result}; use chrono::NaiveDate; use polars::datatypes::DataType; use pretty_assertions::assert_eq; -use serial_test::serial; use ark_invest_api_rust_data::util::ticker::Ticker; use ark_invest_api_rust_data::util::*; #[test] -#[serial] fn get_api_arkk() -> Result<(), Error> { let df = Ark::new( Source::ApiIncremental, @@ -38,7 +36,6 @@ fn get_api_arkk() -> Result<(), Error> { } #[test] -#[serial] fn get_api_format_arkk() -> Result<(), Error> { let dfl = Ark::new( Source::ApiIncremental, @@ -78,7 +75,6 @@ fn get_api_format_arkk() -> Result<(), Error> { } #[test] -#[serial] fn get_api_format_arkvx() -> Result<(), Error> { let dfl = Ark::new( Source::ApiIncremental,