def test_locked_wallet_is_not_unlocked(self, opensource_wallet_words): wallet = HDWallet() wallet.shards = FakeShards(opensource_wallet_words) wallet.unlock() wallet.lock() assert wallet.unlocked() == False
def test_init_wallet_is_not_unlocked(self): wallet = HDWallet() assert wallet.unlocked() == False