Revert "adding cleanup of stale track entries"

This reverts commit 1a2506742f.
This commit is contained in:
evilchili
2022-12-10 10:20:30 -08:00
parent 1a2506742f
commit 4b6246096d
9 changed files with 28 additions and 64 deletions
View File
-4
View File
@@ -38,10 +38,6 @@ def test_scanner(monkeypatch, in_memory_db, media):
# replace the filesystem glob with the test fixture generator
monkeypatch.setattr(scanner.MediaScanner, 'find_sources', MagicMock(return_value=media()))
# pretend things exist
monkeypatch.setattr(scanner.Path, 'exists', MagicMock(return_value=True))
monkeypatch.setattr(scanner.Path, 'is_dir', MagicMock(return_value=False))
def mock_loader(path):
return {
'artist': 'foo',
-4
View File
@@ -16,10 +16,6 @@ def response_factory(responses):
return MagicMock(side_effect=responses + ([''] * 10))
def test_commands(cmd_prompt):
assert cmd_prompt.commands.keys() == cmd_prompt.commands.keys()
@pytest.mark.parametrize('inputs, expected', [
(['stats'], 'Database contains 4 playlists'), # match the db fixture
])