From a82546b70303000b4fc053a1ee21d3d8c7d6ad66 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 28 Jun 2024 15:16:43 +0100 Subject: feat(login): login with nip46 remote signer and save details in git config --- test_utils/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test_utils/src/lib.rs') diff --git a/test_utils/src/lib.rs b/test_utils/src/lib.rs index 64e3fff..ba9d30c 100644 --- a/test_utils/src/lib.rs +++ b/test_utils/src/lib.rs @@ -708,13 +708,14 @@ impl CliTester { formatter: ColorfulTheme::default(), } } - pub fn new_with_timeout(timeout_ms: u64, args: I) -> Self + pub fn new_with_timeout_from_dir(timeout_ms: u64, dir: &PathBuf, args: I) -> Self where I: IntoIterator, S: AsRef, { Self { - rexpect_session: rexpect_with(args, timeout_ms).expect("rexpect to spawn new process"), + rexpect_session: rexpect_with_from_dir(dir, args, timeout_ms) + .expect("rexpect to spawn new process"), formatter: ColorfulTheme::default(), } } -- cgit v1.2.3