Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
stellasia committed Dec 5, 2024
1 parent ccb46f6 commit aedd9a3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/unit/experimental/pipeline/config/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from pathlib import Path
from unittest.mock import Mock, patch

from neo4j_graphrag.experimental.pipeline import Pipeline
Expand Down Expand Up @@ -53,5 +52,5 @@ def test_pipeline_runner_from_config_file(
mock_read.return_value = {"dict": "with data"}
PipelineRunner.from_config_file("file.yaml")

mock_read.assert_called_once_with(Path("file.yaml"))
mock_read.assert_called_once_with("file.yaml")
mock_from_config.assert_called_once_with({"dict": "with data"})

0 comments on commit aedd9a3

Please sign in to comment.