fix: correct conftest import in test_fetcher
tests/ has no __init__.py so "from tests.conftest" fails. Use "from conftest" which pytest resolves automatically. Made-with: Cursor
This commit is contained in:
@@ -3,7 +3,7 @@ from unittest.mock import patch, MagicMock
|
|||||||
|
|
||||||
from src.fetcher import fetch_and_cache_articles
|
from src.fetcher import fetch_and_cache_articles
|
||||||
from src.models import Article, Image
|
from src.models import Article, Image
|
||||||
from tests.conftest import SAMPLE_RSS_XML
|
from conftest import SAMPLE_RSS_XML
|
||||||
|
|
||||||
|
|
||||||
def _mock_feed_response(xml_content):
|
def _mock_feed_response(xml_content):
|
||||||
|
|||||||
Reference in New Issue
Block a user