diff options
author | reemuru <rimuru@hiahatf.org> | 2022-04-06 06:48:16 -0500 |
---|---|---|
committer | reemuru <rimuru@hiahatf.org> | 2022-04-06 06:49:01 -0500 |
commit | 6abe3fee19ae2c07bf7888b3de050f3ea4a746e6 (patch) | |
tree | 08f16df72396de14b216d185fa2aace8e2c32fcc /tests/functional_tests | |
parent | Merge pull request #8228 (diff) | |
download | monero-6abe3fee19ae2c07bf7888b3de050f3ea4a746e6.tar.xz |
tests: integrated_address: remove missing payment id assertion
The integrated address functional test fails in the workflows due
to an assertion for missing payment id that is no longer needed.
Remove the assertion and update the assertion count.
Fixes 7dcfccb: ("wallet_rpc_server: fix make_integrated_address with no payment id")
Diffstat (limited to 'tests/functional_tests')
-rwxr-xr-x | tests/functional_tests/integrated_address.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/functional_tests/integrated_address.py b/tests/functional_tests/integrated_address.py index 98a114eaa..d4b7cd2ff 100755 --- a/tests/functional_tests/integrated_address.py +++ b/tests/functional_tests/integrated_address.py @@ -80,13 +80,11 @@ class IntegratedAddressTest(): except: fails += 1 try: wallet.make_integrated_address(standard_address = '46r4nYSevkfBUMhuykdK3gQ98XDqDTYW1hNLaXNvjpsJaSbNtdXh1sKMsdVgqkaihChAzEy29zEDPMR3NHQvGoZCLGwTerK', payment_id = '112233445566778') except: fails += 1 - try: wallet.make_integrated_address(standard_address = '46r4nYSevkfBUMhuykdK3gQ98XDqDTYW1hNLaXNvjpsJaSbNtdXh1sKMsdVgqkaihChAzEy29zEDPMR3NHQvGoZCLGwTerK', payment_id = '') - except: fails += 1 try: wallet.make_integrated_address(standard_address = '46r4nYSevkfBUMhuykdK3gQ98XDqDTYW1hNLaXNvjpsJaSbNtdXh1sKMsdVgqkaihChAzEy29zEDPMR3NHQvGoZCLGwTerK', payment_id = '112233445566778g') except: fails += 1 try: wallet.make_integrated_address(standard_address = '46r4nYSevkfBUMhuykdK3gQ98XDqDTYW1hNLaXNvjpsJaSbNtdXh1sKMsdVgqkaihChAzEy29zEDPMR3NHQvGoZCLGwTerK', payment_id = '1122334455667788112233445566778811223344556677881122334455667788') except: fails += 1 - assert fails == 5 + assert fails == 4 print('Checking bad standard address') fails = 0 |