From 0430c10502183871bec62972ec39c75c28d0391c Mon Sep 17 00:00:00 2001 From: 3rd Iteration Date: Mon, 8 Jan 2024 14:54:44 +1000 Subject: [PATCH] add CI test --- btcrecover/btcrpass.py | 2 ++ btcrecover/test/test_passwords.py | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/btcrecover/btcrpass.py b/btcrecover/btcrpass.py index 4fd53f0f..c966b2a3 100644 --- a/btcrecover/btcrpass.py +++ b/btcrecover/btcrpass.py @@ -2760,6 +2760,8 @@ class WalletDogechain(object): _savepossiblematches = True _possible_passwords_file = "possible_passwords.log" + matchStrings = b"\"guid\"|\"sharedKey\"|\"keys\"" + _dump_privkeys_file = None _dump_wallet_file = None _using_extract = False diff --git a/btcrecover/test/test_passwords.py b/btcrecover/test/test_passwords.py index 620af0d3..d264597a 100644 --- a/btcrecover/test/test_passwords.py +++ b/btcrecover/test/test_passwords.py @@ -267,6 +267,11 @@ def test_password_repeats_x3(self): ["one", "oneone", "oneoneone"], "--password-repeats-posttypos --max-password-repeats 3") + def test_keep_tokens_order(self): + self.do_generator_test(["one", "two", "three"], + ['onethree', 'twothree', 'onetwothree'], + "--keep-tokens-order") + def test_empty_file(self): self.do_generator_test([], [], test_passwordlist=True) def test_one_char_file(self):