v0.79.3: editing the playing song's tags or art no longer glitches playback
This commit is contained in:
@@ -26,6 +26,14 @@ def _no_real_device(monkeypatch):
|
||||
monkeypatch.setattr(device_sync, "find_device", lambda: None)
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _no_file_in_use(monkeypatch):
|
||||
"""A MainWindow points tagging at its player (Round 111); one a test left
|
||||
behind mustn't decide how a later test's tag writes are saved."""
|
||||
from lintunes import tagging
|
||||
monkeypatch.setattr(tagging, "in_use", lambda: ())
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _no_dj_sound(monkeypatch):
|
||||
"""DJ mode's sink never opens in a test: the mixer would play the decks
|
||||
|
||||
Reference in New Issue
Block a user