Skip to content

Commit 174f2cc

Browse files
rebase
1 parent 291c492 commit 174f2cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_query_ingestion.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def test_read_file_content_with_notebook(tmp_path: Path):
4242
notebook_path = tmp_path / "dummy_notebook.ipynb"
4343
notebook_path.write_text("{}", encoding="utf-8") # minimal JSON
4444

45-
# Patch the symbol as it is used in ingest_from_query
46-
with patch("gitingest.ingest_from_query.process_notebook") as mock_process:
45+
# Patch the symbol as it is used in query_ingestion
46+
with patch("gitingest.query_ingestion.process_notebook") as mock_process:
4747
_read_file_content(notebook_path)
4848
mock_process.assert_called_once_with(notebook_path)
4949

@@ -52,7 +52,7 @@ def test_read_file_content_with_non_notebook(tmp_path: Path):
5252
py_file_path = tmp_path / "dummy_file.py"
5353
py_file_path.write_text("print('Hello')", encoding="utf-8")
5454

55-
with patch("gitingest.ingest_from_query.process_notebook") as mock_process:
55+
with patch("gitingest.query_ingestion.process_notebook") as mock_process:
5656
_read_file_content(py_file_path)
5757
mock_process.assert_not_called()
5858

0 commit comments

Comments
 (0)