Files
seedsigner/tests/screenshot_generator/conftest.py
T
kdmukai 5f875fa5af Adds --locale option to screenshot generator; DE translation update
* Filter out LANCZOS deprecation warnings from pytest output
* Prevent ScreenshotRenderer from attempting to capture background task rendering jobs.
* Bugfix to stop loading screen spinner if PSBTParser fails.
*
2022-05-25 10:29:25 -05:00

12 lines
213 B
Python

import pytest
def pytest_addoption(parser):
parser.addoption("--locale", action="store", default=None)
@pytest.fixture(scope='session')
def target_locale(request):
return request.config.option.locale