URI: 
       tMerge pull request #3039 from SomberNight/tests_storage_upgrades1 - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit d472156dcd3b0807d9ceaaac227dd0660e4cc7f3
   DIR parent 319a31e64c035d95a06d3b4c7bd6e4f18f4fc261
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Sat, 14 Oct 2017 10:20:38 +0200
       
       Merge pull request #3039 from SomberNight/tests_storage_upgrades1
       
       ttests: WalletStorage upgrades
       Diffstat:
         A lib/tests/test_storage_upgrade.py   |     125 +++++++++++++++++++++++++++++++
       
       1 file changed, 125 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/tests/test_storage_upgrade.py b/lib/tests/test_storage_upgrade.py
       t@@ -0,0 +1,125 @@
       +from lib.storage import WalletStorage
       +from lib.wallet import Wallet
       +
       +from lib.tests.test_wallet import WalletTestCase
       +
       +
       +# TODO add other wallet types: 2fa/multisig/hardware
       +class TestStorageUpgrade(WalletTestCase):
       +
       +    def test_upgrade_from_client_1_9_8_seeded(self):
       +        # seed words: flirt angel five creation swim bridge chocolate sport another hill secret whatever
       +        wallet_str = "{'addr_history':{'177hEYTccmuYH8u68pYfaLteTxwJrVgvJj':[],'15V7MsQK2vjF5aEXLVG11qi2eZPZsXdnYc':[],'1DgrwN2JCDZ6uPMSvSz8dPeUtaxLxWM2kf':[],'1H3mPXHFzA8UbvhQVabcDjYw3CPb3djvxs':[],'1DjtUCcQwwzA3GSPA7Kd79PMnri7tLDPYC':[],'1PGEgaPG1XJqmuSj68GouotWeYkCtwo4wm':[],'1PAgpPxnL42Hp3cWxmSfdChPqqGiM8g7zj':[],'1HocPduHmQUJerpdaLG8DnmxvnDCVQwWsa':[]},'accounts_expanded':{},'master_public_key':'756d1fe6ded28d43d4fea902a9695feb785447514d6e6c3bdf369f7c3432fdde4409e4efbffbcf10084d57c5a98d1f34d20ac1f133bdb64fa02abf4f7bde1dfb','use_encryption':False,'seed':'2605aafe50a45bdf2eb155302437e678','accounts':{0:{0:['1DjtUCcQwwzA3GSPA7Kd79PMnri7tLDPYC','1PAgpPxnL42Hp3cWxmSfdChPqqGiM8g7zj','177hEYTccmuYH8u68pYfaLteTxwJrVgvJj','1PGEgaPG1XJqmuSj68GouotWeYkCtwo4wm','15V7MsQK2vjF5aEXLVG11qi2eZPZsXdnYc'],1:['1H3mPXHFzA8UbvhQVabcDjYw3CPb3djvxs','1HocPduHmQUJerpdaLG8DnmxvnDCVQwWsa','1DgrwN2JCDZ6uPMSvSz8dPeUtaxLxWM2kf']}},'seed_version':4}"
       +        self._upgrade_storage(wallet_str)
       +
       +    def test_upgrade_from_client_1_9_8_mixed(self):
       +        # seed words: flirt angel five creation swim bridge chocolate sport another hill secret whatever
parazyd.org:70 /git/electrum/commit/d472156dcd3b0807d9ceaaac227dd0660e4cc7f3.gph:39: line too long