Skip to content

Commit

Permalink
Rename screenshot image
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmukai committed Jul 9, 2024
1 parent 0ca9005 commit 03ebf7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/screenshot_generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def add_op_return_to_psbt(psbt: PSBT, raw_payload_data: bytes):

(NotYetImplementedView, {}, "PSBTOverviewView_op_return"), # Placeholder
(NotYetImplementedView, {}, "PSBTOpReturnView_text"), # Placeholder
(NotYetImplementedView, {}, "PSBTOpReturnView_raw_bytes"), # Placeholder
(NotYetImplementedView, {}, "PSBTOpReturnView_raw_hex_data"), # Placeholder

(psbt_views.PSBTAddressVerificationFailedView, dict(is_change=True, is_multisig=False), "PSBTAddressVerificationFailedView_singlesig_change"),
(psbt_views.PSBTAddressVerificationFailedView, dict(is_change=False, is_multisig=False), "PSBTAddressVerificationFailedView_singlesig_selftransfer"),
Expand Down Expand Up @@ -361,7 +361,7 @@ def screencap_view(view_cls: View, view_args: dict = {}, view_name: str = None,
decoder.add_data(BASE64_PSBT_WITH_OP_RETURN_RAW_BYTES)
controller.psbt = decoder.get_psbt()
controller.psbt_parser = PSBTParser(p=controller.psbt, seed=seed_12b)
screencap_view(psbt_views.PSBTOpReturnView, view_name="PSBTOpReturnView_raw_bytes")
screencap_view(psbt_views.PSBTOpReturnView, view_name="PSBTOpReturnView_raw_hex_data")

with open(os.path.join(screenshot_root, "README.md"), 'w') as readme_file:
readme_file.write(readme)

0 comments on commit 03ebf7f

Please sign in to comment.