haystack/test/core/conftest.py
Silvano Cerza a7f36fdd32
feat: Enhance Pipeline.draw() to show image directly in Jupyter notebook (#6961)
* Enhance Pipeline.draw() to show image directly in Jupyter notebook

* Add util method to check if we're in a Jupyter notebook

* Split Pipeline.draw() in two methods

* Update tests

* Update releasenotes
2024-02-09 14:44:24 +01:00

10 lines
167 B
Python

from pathlib import Path
from unittest.mock import MagicMock, patch
import pytest
@pytest.fixture
def test_files():
return Path(__file__).parent / "test_files"