HomePhabricator

[electrum] add tests for BIP21 parsing and creation

Description

[electrum] add tests for BIP21 parsing and creation

Summary:
Add an op_return test case for TestParseURI and add a suite for create_URI.
The new test suite shows that currently special chars are not escaped for the op_return paramater. This will be fixed in a separate diff.

Depends on D15235

Test Plan: python test_runner.py

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D15236

Details

Provenance
PiRKAuthored on Jan 22 2024, 16:14
PiRKPushed on Jan 23 2024, 07:46
Reviewer
Restricted Project
Differential Revision
D15236: [electrum] add tests for BIP21 parsing and creation
Parents
rABC1253a4dd4881: [electrum] rename tests in test_bip21
Branches
Unknown
Tags
Unknown