File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments