From dc8015f6695ee069279dfbd681000e8b1fcd30e5 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 26 Feb 2025 20:56:18 -0500 Subject: Remove module level `Session` initialization in Rust unit tests This was preventing the enterprise license checkout from dropping, also the initialization story is much better than it was when we added the rstest fixtures, we can get away with initialization in parallel more broadly. --- rust/tests/initialization.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rust/tests/initialization.rs') diff --git a/rust/tests/initialization.rs b/rust/tests/initialization.rs index cfbdbdc3..9847a734 100644 --- a/rust/tests/initialization.rs +++ b/rust/tests/initialization.rs @@ -5,12 +5,11 @@ use binaryninja::headless::{ init, init_with_opts, shutdown, InitializationError, InitializationOptions, }; use binaryninja::set_license; -use rstest::rstest; // NOTE: Do not add any tests here, behavior will change (i.e. a failure might pass) if we initialize // NOTE: The core in another test. The only test here should be `test_license_validation`. -#[rstest] +#[test] fn test_license_validation() { // Release floating license if we already have one, otherwise the failure will succeed. release_license(); -- cgit v1.3.1