diff options
| author | SNeedlewoods <sneedlewoods_1@protonmail.com> | 2026-06-03 22:13:13 +0200 |
|---|---|---|
| committer | SNeedlewoods <sneedlewoods_1@protonmail.com> | 2026-06-03 22:13:13 +0200 |
| commit | 6bc37841a9523cadf144034376b7a79d69e55a21 (patch) | |
| tree | fefc891804c619e912deb9b639479537c719043f /tests/functional_tests | |
| parent | 3ca4c30f73fe22d16a46cfba122556437da3618d (diff) | |
| download | monzero-core-6bc37841a9523cadf144034376b7a79d69e55a21.tar.gz monzero-core-6bc37841a9523cadf144034376b7a79d69e55a21.tar.xz monzero-core-6bc37841a9523cadf144034376b7a79d69e55a21.zip | |
fix: TypeError: 'method' object is not subscriptable
Diffstat (limited to 'tests/functional_tests')
| -rwxr-xr-x | tests/functional_tests/address_book.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional_tests/address_book.py b/tests/functional_tests/address_book.py index 396ce505e..a315a1cdc 100755 --- a/tests/functional_tests/address_book.py +++ b/tests/functional_tests/address_book.py @@ -98,15 +98,15 @@ class AddressBookTest(): # request (partially) out of range ok = False - try: res = wallet.get_address_book[4, 2] + try: res = wallet.get_address_book([4, 2]) except: ok = True assert ok ok = False - try: res = wallet.get_address_book[0, 2] + try: res = wallet.get_address_book([0, 2]) except: ok = True assert ok ok = False - try: res = wallet.get_address_book[2, 0] + try: res = wallet.get_address_book([2, 0]) except: ok = True assert ok |
