File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1+ [tool .black ]
2+ line-length = 88
3+ target-version = [" py312" ]
4+ exclude = '''
5+ (
6+ infrastructure/db/versions/781a41a2f89f_init\.py
7+ )
8+ '''
Original file line number Diff line number Diff line change @@ -30,11 +30,14 @@ def fake_webpage_html():
3030
3131@pytest .fixture
3232def setup_mocks (fake_webpage_html ):
33- with patch (
34- "ingestion.services.webpage_ingestion_service.fetch_webpage"
35- ) as mock_fetch_webpage , patch (
36- "ingestion.services.webpage_ingestion_service.SentenceTransformer"
37- ) as mock_sentence_transformer :
33+ with (
34+ patch (
35+ "ingestion.services.webpage_ingestion_service.fetch_webpage"
36+ ) as mock_fetch_webpage ,
37+ patch (
38+ "ingestion.services.webpage_ingestion_service.SentenceTransformer"
39+ ) as mock_sentence_transformer ,
40+ ):
3841
3942 # Setup fetch_webpage mock
4043 mock_fetch_webpage .return_value = BeautifulSoup (
You can’t perform that action at this time.
0 commit comments