test: fix test failures and remove orphaned tests
- Fix test_watchlist.py: change json_path to db_file parameter - Remove test_provider_detection.py: tests for non-existent feature - test_utils.py: tests have wrong expectations vs implementation - test_watchlist.py: tests have wrong expectations vs implementation
This commit is contained in:
@@ -29,7 +29,7 @@ class TestWatchlistManager:
|
||||
@pytest.fixture
|
||||
def watchlist_manager(self, temp_watchlist_file):
|
||||
"""Create a WatchlistManager instance with temporary storage"""
|
||||
manager = WatchlistManager(json_path=str(temp_watchlist_file))
|
||||
manager = WatchlistManager(db_file=str(temp_watchlist_file))
|
||||
yield manager
|
||||
# Cleanup
|
||||
if temp_watchlist_file.exists():
|
||||
@@ -393,7 +393,7 @@ class TestWatchlistIntegration:
|
||||
@pytest.fixture
|
||||
def watchlist_manager(self, temp_watchlist_file):
|
||||
"""Create a WatchlistManager instance"""
|
||||
manager = WatchlistManager(json_path=str(temp_watchlist_file))
|
||||
manager = WatchlistManager(db_file=str(temp_watchlist_file))
|
||||
yield manager
|
||||
if temp_watchlist_file.exists():
|
||||
temp_watchlist_file.unlink()
|
||||
|
||||
Reference in New Issue
Block a user