beets/test/ui
Šarūnas Nejus ed43387778
Replace custom stdio mocks with pytest io fixture
Create a centralised pytest fixture to provide controllable stdin and
captured stdout in all tests. Simplify DummyIO/DummyIn and remove the
custom DummyOut implementation and make use of pytest builtin fixtures.

Create a centralised pytest fixture to provide controllable stdin and
captured stdout that can be applied to any tests, regardless whether
they are based on pytest or unittest.

* `io` fixture can be used as a fixture in pytest-based tests
* `IOMixin` can be used to attach `io` attribute to any test class,
  including `unittest.TestCase`
2026-01-16 21:44:16 +00:00
..
commands Replace custom stdio mocks with pytest io fixture 2026-01-16 21:44:16 +00:00
__init__.py tests: move command tests into dedicated files 2025-11-03 14:00:58 +01:00
test_field_diff.py Define a shared fixture for config 2025-12-27 14:30:35 +00:00
test_ui.py Fix test failures 2026-01-16 21:44:15 +00:00
test_ui_importer.py tests: move command tests into dedicated files 2025-11-03 14:00:58 +01:00
test_ui_init.py tests: move command tests into dedicated files 2025-11-03 14:00:58 +01:00