Update test_component_code path in conftest.py

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-12-04 17:58:52 -03:00
commit 491c03e5b6
2 changed files with 1 additions and 1 deletions

View file

@ -305,7 +305,7 @@ def added_vector_store(client, json_vector_store, logged_in_headers):
@pytest.fixture @pytest.fixture
def test_component_code(): def test_component_code():
path = Path(__file__).parent.absolute() / "data" / "test_component.py" path = Path(__file__).parent.absolute() / "data" / "component_test.py"
# load the content as a string # load the content as a string
with open(path, "r") as f: with open(path, "r") as f:
return f.read() return f.read()