From ea241bf4845395eee0ea4c41010b6e581a0693e6 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Tue, 19 Aug 2025 16:54:41 +0300 Subject: [PATCH] tests(assessor): fix mixed test attributes using test-log pass-through --- crates/assessor/src/lib.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/crates/assessor/src/lib.rs b/crates/assessor/src/lib.rs index f36a01dc2..eca06dd07 100644 --- a/crates/assessor/src/lib.rs +++ b/crates/assessor/src/lib.rs @@ -197,8 +197,7 @@ mod tests { <[u8; 32]>::from(digest).into() } - #[tokio::test] - #[test_log::test] + #[test_log::test(tokio::test)] async fn test_claim() { let signer = PrivateKeySigner::random(); let proving_request = proving_request(1, signer.address(), B256::ZERO, vec![1]); @@ -214,7 +213,6 @@ mod tests { claim.evaluate_requirements().unwrap(); } - #[test] #[test_log::test] fn test_domain_serde() { let domain = eip712_domain(Address::ZERO, 1); @@ -268,8 +266,7 @@ mod tests { assert_eq!(session.exit_code, ExitCode::Halted(0)); } - #[tokio::test] - #[test_log::test] + #[test_log::test(tokio::test)] async fn test_assessor_e2e_singleton() { let signer = PrivateKeySigner::random(); // 1. Mock and sign a request @@ -284,8 +281,7 @@ mod tests { assessor(claims, vec![application_receipt]); } - #[tokio::test] - #[test_log::test] + #[test_log::test(tokio::test)] async fn test_assessor_e2e_two_leaves() { let signer = PrivateKeySigner::random(); // 1. Mock and sign a request