mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-05 15:08:25 +00:00
Minor cleanup
This commit is contained in:
@@ -1106,8 +1106,6 @@ class SeedTranscribeSeedQRFormatScreen(ButtonListScreen):
|
|||||||
self.is_bottom_list = True
|
self.is_bottom_list = True
|
||||||
super().__post_init__()
|
super().__post_init__()
|
||||||
|
|
||||||
print(self)
|
|
||||||
|
|
||||||
self.components.append(IconTextLine(
|
self.components.append(IconTextLine(
|
||||||
# TRANSLATOR_NOTE: Refers to the SeedQR type: Standard or Compact
|
# TRANSLATOR_NOTE: Refers to the SeedQR type: Standard or Compact
|
||||||
label_text=_("Standard"),
|
label_text=_("Standard"),
|
||||||
|
|||||||
@@ -1430,8 +1430,6 @@ class SeedTranscribeSeedQRFormatView(View):
|
|||||||
|
|
||||||
button_data = [STANDARD, COMPACT]
|
button_data = [STANDARD, COMPACT]
|
||||||
|
|
||||||
print(f"button_data: {button_data}")
|
|
||||||
|
|
||||||
selected_menu_num = seed_screens.SeedTranscribeSeedQRFormatScreen(
|
selected_menu_num = seed_screens.SeedTranscribeSeedQRFormatScreen(
|
||||||
title=_("SeedQR Format"),
|
title=_("SeedQR Format"),
|
||||||
button_data=button_data,
|
button_data=button_data,
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ from seedsigner.views.view import ErrorView, NetworkMismatchErrorView, OptionDis
|
|||||||
|
|
||||||
from .utils import ScreenshotComplete, ScreenshotRenderer
|
from .utils import ScreenshotComplete, ScreenshotRenderer
|
||||||
|
|
||||||
# Ignore Pillow 10 DeprecationWarnings "use getbbox() or getlength() instead of getsize()"
|
|
||||||
import warnings; warnings.warn = lambda *args, **kwargs: None
|
import warnings; warnings.warn = lambda *args, **kwargs: None
|
||||||
|
|
||||||
|
|
||||||
@@ -53,6 +52,7 @@ def test_generate_all(locale, target_locale):
|
|||||||
"""
|
"""
|
||||||
if target_locale and locale != target_locale:
|
if target_locale and locale != target_locale:
|
||||||
pytest.skip(f"Skipping {locale}")
|
pytest.skip(f"Skipping {locale}")
|
||||||
|
|
||||||
generate_screenshots(locale)
|
generate_screenshots(locale)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
import pytest
|
|
||||||
from unittest.mock import MagicMock
|
|
||||||
from seedsigner.models.seed import Seed
|
from seedsigner.models.seed import Seed
|
||||||
from embit import bip39
|
|
||||||
|
|
||||||
from seedsigner.models.settings import SettingsConstants
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def test_derive_child_mnemonic():
|
def test_derive_child_mnemonic():
|
||||||
|
|||||||
Reference in New Issue
Block a user