diff options
Diffstat (limited to 'tests/functional_tests')
-rwxr-xr-x | tests/functional_tests/cold_signing.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional_tests/cold_signing.py b/tests/functional_tests/cold_signing.py index 983cd9029..bd48671a2 100755 --- a/tests/functional_tests/cold_signing.py +++ b/tests/functional_tests/cold_signing.py @@ -109,6 +109,15 @@ class ColdSigningTest(): num_outputs -= 1 count = 1 + int(random.random() * 5) res = self.hot_wallet.export_outputs(all = True, start = start, count = count) + + # the hot wallet cannot import outputs + ok = False + try: + self.hot_wallet.import_outputs(res.outputs_data_hex) + except: + ok = True + assert ok + try: self.cold_wallet.import_outputs(res.outputs_data_hex) except Exception as e: |