Revert "adding cleanup of stale track entries"
This reverts commit 1a2506742f.
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user