summaryrefslogtreecommitdiff
path: root/rust/tests/initialization.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-02-26 20:56:18 -0500
committerMason Reed <mason@vector35.com>2025-02-26 21:05:34 -0500
commitdc8015f6695ee069279dfbd681000e8b1fcd30e5 (patch)
treec1e387c68a249ff90999bbdcc4fa90372516d88c /rust/tests/initialization.rs
parent4608523101738492124069765324141966372229 (diff)
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.
Diffstat (limited to 'rust/tests/initialization.rs')
-rw-r--r--rust/tests/initialization.rs3
1 files changed, 1 insertions, 2 deletions
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();