Skip to content

Commit 1ab637f

Browse files
committed
Move setup tests to a single test
Initially setup tests were run once per each integration test. This makes it run only once
1 parent 67c38e8 commit 1ab637f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/setup/mod.rs

-5
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@ pub fn setup() -> BitcoinD {
2222
);
2323
bitcoind
2424
}
25-
26-
#[test]
27-
fn test_setup() {
28-
setup();
29-
}

tests/test_cpp.rs

+5
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@ pub fn test_from_cpp_ms(cl: &Client, testdata: &TestData) {
239239
}
240240
}
241241

242+
#[test]
243+
fn test_setup() {
244+
setup::setup();
245+
}
246+
242247
#[test]
243248
fn tests_from_cpp() {
244249
let cl = &setup::setup().client;

0 commit comments

Comments
 (0)