Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Merge pull request #390 from Pipelex/feature/execute-plx

Thomas Hebrardef6315548cb1
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 53b1d2018..904501660 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## Unreleased
+
+### Changed
+
+- Updated the `PipelexClient` and changed the route of the API calls to `v1/pipeline/execute` and `v1/pipeline/start`.
+
## [v0.13.1] - 2025-10-22
### Changed
diff --git a/pipelex/client/client.py b/pipelex/client/client.py
index 2edceb323..ea9184a38 100644
--- a/pipelex/client/client.py
+++ b/pipelex/client/client.py
@@ -5,7 +5,7 @@ from typing_extensions import override
from pipelex.client.pipeline_request_factory import PipelineRequestFactory
from pipelex.client.pipeline_response_factory import PipelineResponseFactory
-from pipelex.client.protocol import PipelexProtocol, PipelineInputs, PipelineResponse
+from pipelex.client.protocol import PipelexProtocol, PipelineInputs, PipelineRequest, PipelineRequestError, PipelineResponse
from pipelex.core.memory.working_memory import WorkingMemory
from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory
from pipelex.core.pipes.variable_multiplicity import VariableMultiplicity
@@ -80,52 +80,90 @@ class PipelexClient(PipelexProtocol):
@override
async def execute_pipeline(
self,
- pipe_code: str,
- working_memory: WorkingMemory | None = None,
- inputs: PipelineInputs | None = None,
+ pipe_code: str | None = None,
+ plx_content: str | None = None,
+ inputs: PipelineInputs | WorkingMemory | None = None,
output_name: str | None = None,
output_multiplicity: VariableMultiplicity | None = None,
dynamic_output_concept_code: str | None = None,
) -> PipelineResponse:
- if working_memory and inputs:
- msg = f"'working_memory' and 'inputs' cannot be provided together to the API execute_pipeline {pipe_code=}."
- raise ValueError(msg)
+ """Execute a pipeline synchronously and wait for its completion.
+ Args:
+ pipe_code: The code identifying the pipeline to execute
+ plx_content: Content of the pipeline bundle to execute
+ inputs: Inputs passed to the pipeline
+ output_name: Name of the output slot to write to
+ output_multiplicity: Output multiplicity setting
+ dynamic_output_concept_code: Override for the dynamic output concept code
+ Returns:
+ PipelineResponse: Complete execution results including pipeline state and output
+
+ """
+ if not pipe_code and not plx_content:
+ msg = "Either pipe_code or plx_content must be provided to the API execute_pipeline."
+ raise PipelineRequestError(message=msg)
+
+ working_memory: WorkingMemory | None = None
+ pipeline_request: PipelineRequest | None = None
if inputs is not None:
- working_memory = WorkingMemoryFactory.make_from_pipeline_inputs(pipeline_inputs=inputs)
+ if isinstance(inputs, WorkingMemory):
+ working_memory = inputs
+ else:
+ working_memory = WorkingMemoryFactory.make_from_pipeline_inputs(pipeline_inputs=inputs)
pipeline_request = PipelineRequestFactory.make_from_working_memory(
+ pipe_code=pipe_code,
+ plx_content=plx_content,
working_memory=working_memory,
output_name=output_name,
output_multiplicity=output_multiplicity,
dynamic_output_concept_code=dynamic_output_concept_code,
)
-
- response = await self._make_api_call(f"v1/pipeline/{pipe_code}/execute", request=pipeline_request.model_dump_json())
+ response = await self._make_api_call("v1/pipeline/execute", request=pipeline_request.model_dump_json())
return PipelineResponseFactory.make_from_api_response(response)
@override
async def start_pipeline(
self,
- pipe_code: str,
- working_memory: WorkingMemory | None = None,
- inputs: PipelineInputs | None = None,
+ pipe_code: str | None = None,
+ plx_content: str | None = None,
+ inputs: PipelineInputs | WorkingMemory | None = None,
output_name: str | None = None,
output_multiplicity: VariableMultiplicity | None = None,
dynamic_output_concept_code: str | None = None,
) -> PipelineResponse:
- if working_memory and inputs:
- msg = f"'working_memory' and 'inputs' cannot be provided together to the API start_pipeline {pipe_code=}."
- raise ValueError(msg)
+ """Start a pipeline execution asynchronously without waiting for completion.
+
+ Args:
+ pipe_code: The code identifying the pipeline to execute
+ plx_content: Content of the pipeline bundle to execute
+ inputs: Inputs passed to the pipeline
+ output_name: Name of the output slot to write to
+ output_multiplicity: Output multiplicity setting
+ dynamic_output_concept_code: Override for the dynamic output concept code
+ Returns:
+ PipelineResponse: Initial response with pipeline_run_id and created_at timestamp
+ """
+ if not pipe_code and not plx_content:
+ msg = "Either pipe_code or plx_content must be provided to the API start_pipeline."
+ raise PipelineRequestError(message=msg)
+ working_memory: WorkingMemory | None = None
+ pipeline_request: PipelineRequest | None = None
if inputs is not None:
- working_memory = WorkingMemoryFactory.make_from_pipeline_inputs(pipeline_inputs=inputs)
+ if isinstance(inputs, WorkingMemory):
+ working_memory = inputs
+ else:
+ working_memory = WorkingMemoryFactory.make_from_pipeline_inputs(pipeline_inputs=inputs)
pipeline_request = PipelineRequestFactory.make_from_working_memory(
+ pipe_code=pipe_code,
+ plx_content=plx_content,
working_memory=working_memory,
output_name=output_name,
output_multiplicity=output_multiplicity,
dynamic_output_concept_code=dynamic_output_concept_code,
)
- response = await self._make_api_call(f"v1/pipeline/{pipe_code}/start", request=pipeline_request.model_dump_json())
+ response = await self._make_api_call("v1/pipeline/start", request=pipeline_request.model_dump_json())
return PipelineResponseFactory.make_from_api_response(response)
diff --git a/pipelex/client/pipeline_request_factory.py b/pipelex/client/pipeline_request_factory.py
index 301486f08..29f134944 100644
--- a/pipelex/client/pipeline_request_factory.py
+++ b/pipelex/client/pipeline_request_factory.py
@@ -11,15 +11,18 @@ class PipelineRequestFactory:
@staticmethod
def make_from_working_memory(
+ pipe_code: str | None,
+ plx_content: str | None,
working_memory: WorkingMemory | None = None,
output_name: str | None = None,
output_multiplicity: VariableMultiplicity | None = None,
dynamic_output_concept_code: str | None = None,
- plx_content: str | None = None,
) -> PipelineRequest:
"""Create a PipelineRequest from a WorkingMemory object.
Args:
+ pipe_code: The code identifying the pipeline to execute
+ plx_content: Content of the pipeline bundle to execute
working_memory: The WorkingMemory to convert
output_name: Name of the output slot to write to
output_multiplicity: Output multiplicity setting
@@ -30,12 +33,13 @@ class PipelineRequestFactory:
"""
return PipelineRequest(
+ pipe_code=pipe_code,
+ plx_content=plx_content,
# `ApiSerializer.serialize_working_memory_for_api` returns a dict[str, dict[str, Any]] (plain dicts), which is a valid PipelineInputs
inputs=cast("PipelineInputs", ApiSerializer.serialize_working_memory_for_api(working_memory=working_memory)),
output_name=output_name,
output_multiplicity=output_multiplicity,
dynamic_output_concept_code=dynamic_output_concept_code,
- plx_content=plx_content,
)
@staticmethod
@@ -50,9 +54,10 @@ class PipelineRequestFactory:
"""
return PipelineRequest(
+ pipe_code=request_body.get("pipe_code"),
+ plx_content=request_body.get("plx_content"),
inputs=request_body.get("inputs", {}),
output_name=request_body.get("output_name"),
output_multiplicity=request_body.get("output_multiplicity"),
dynamic_output_concept_code=request_body.get("dynamic_output_concept_code"),
- plx_content=request_body.get("plx_content"),
)
diff --git a/pipelex/client/protocol.py b/pipelex/client/protocol.py
index 429b03398..1f1e22fa4 100644
--- a/pipelex/client/protocol.py
+++ b/pipelex/client/protocol.py
@@ -1,7 +1,7 @@
from abc import abstractmethod
from typing import Any, Protocol, Sequence
-from pydantic import BaseModel
+from pydantic import BaseModel, model_validator
from pydantic.functional_validators import SkipValidation
from typing_extensions import Annotated, runtime_checkable
@@ -10,6 +10,7 @@ from pipelex.core.pipes.pipe_output import DictPipeOutput
from pipelex.core.pipes.variable_multiplicity import VariableMultiplicity
from pipelex.core.stuffs.stuff import DictStuff
from pipelex.core.stuffs.stuff_content import StuffContent
+from pipelex.exceptions import PipelexException
from pipelex.types import StrEnum
# StuffContentOrData represents all possible formats for pipeline inputs input:
@@ -64,24 +65,42 @@ class ApiResponse(BaseModel):
error: str | None = None
+class PipelineRequestError(PipelexException):
+ pass
+
+
class PipelineRequest(BaseModel):
"""Request for executing a pipeline.
Attributes:
+ pipe_code (str | None): Code of the pipe to execute
+ plx_content (str | None): Content of the pipeline bundle to execute
inputs (PipelineInputs | None): Inputs in PipelineInputs format - Pydantic validation is skipped
to preserve the flexible format (dicts, strings, StuffContent objects, etc.)
output_name (str | None): Name of the output slot to write to
output_multiplicity (PipeOutputMultiplicity | None): Output multiplicity setting
dynamic_output_concept_code (str | None): Override for the dynamic output concept code
- plx_content (str | None): Content of the pipeline bundle to execute
"""
+ pipe_code: str | None = None
+ plx_content: str | None = None
inputs: Annotated[PipelineInputs | None, SkipValidation] = None
output_name: str | None = None
output_multiplicity: VariableMultiplicity | None = None
dynamic_output_concept_code: str | None = None
- plx_content: str | None = None
+
+ @model_validator(mode="before")
+ @classmethod
+ def validate_request(cls, values: dict[str, Any]):
+ if values.get("pipe_code") is None and values.get("plx_content") is None:
+ msg = (
+ "pipe_code and plx_content cannot be None together. Its either: Both of them, or if there is no plx_content, "
+ "then pipe_code must be provided and must reference a pipe already registered in the library."
+ "If plx_content is provided but no pipe_code, plx_content must have a main_pipe property."
+ )
+ raise PipelineRequestError(msg)
+ return values
class PipelineResponse(ApiResponse):
@@ -126,9 +145,9 @@ class PipelexProtocol(Protocol):
@abstractmethod
async def execute_pipeline(
self,
- pipe_code: str,
- working_memory: WorkingMemory | None = None,
- inputs: PipelineInputs | None = None,
+ pipe_code: str | None = None,
+ plx_content: str | None = None,
+ inputs: PipelineInputs | WorkingMemory | None = None,
output_name: str | None = None,
output_multiplicity: VariableMultiplicity | None = None,
dynamic_output_concept_code: str | None = None,
@@ -137,8 +156,8 @@ class PipelexProtocol(Protocol):
Args:
pipe_code (str): The code identifying the pipeline to execute
- working_memory (WorkingMemory | None): Memory context passed to the pipeline
- inputs (PipelineInputs | None): Inputs passed to the pipeline
+ plx_content (str | None): Content of the pipeline bundle to execute
+ inputs (PipelineInputs | WorkingMemory | None): Inputs passed to the pipeline
output_name (str | None): Target output slot name
output_multiplicity (PipeOutputMultiplicity | None): Output multiplicity setting
dynamic_output_concept_code (str | None): Override for dynamic output concept
@@ -155,9 +174,9 @@ class PipelexProtocol(Protocol):
@abstractmethod
async def start_pipeline(
self,
- pipe_code: str,
- working_memory: WorkingMemory | None = None,
- inputs: PipelineInputs | None = None,
+ pipe_code: str | None = None,
+ plx_content: str | None = None,
+ inputs: PipelineInputs | WorkingMemory | None = None,
output_name: str | None = None,
output_multiplicity: VariableMultiplicity | None = None,
dynamic_output_concept_code: str | None = None,
@@ -166,8 +185,8 @@ class PipelexProtocol(Protocol):
Args:
pipe_code (str): The code identifying the pipeline to execute
- working_memory (WorkingMemory | None): Memory context passed to the pipeline
- inputs (PipelineInputs | None): Inputs passed to the pipeline
+ plx_content (str | None): Content of the pipeline bundle to execute
+ inputs (PipelineInputs | WorkingMemory | None): Inputs passed to the pipeline
output_name (str | None): Target output slot name
output_multiplicity (PipeOutputMultiplicity | None): Output multiplicity setting
dynamic_output_concept_code (str | None): Override for dynamic output concept
diff --git a/pipelex/core/pipes/pipe_library.py b/pipelex/core/pipes/pipe_library.py
index bd51bbd74..9e07f0a09 100644
--- a/pipelex/core/pipes/pipe_library.py
+++ b/pipelex/core/pipes/pipe_library.py
@@ -42,7 +42,11 @@ class PipeLibrary(RootModel[PipeLibraryRoot], PipeLibraryAbstract):
@override
def add_new_pipe(self, pipe: PipeAbstract):
if pipe.code in self.root:
- msg = f"Pipe '{pipe.code}' already exists in the library"
+ msg = (
+ f"Pipe '{pipe.code}' already exists in the library. You might be running the same pipe twice in the same pipeline."
+ "We do not yet handle this case, so please avoid running the same pipe twice in the same pipeline"
+ "Or consider adding for good in the library and call it by its code."
+ )
raise PipeLibraryError(msg)
self.root[pipe.code] = pipe
diff --git a/pipelex/exceptions.py b/pipelex/exceptions.py
index 140523da1..f198563a5 100644
--- a/pipelex/exceptions.py
+++ b/pipelex/exceptions.py
@@ -452,3 +452,7 @@ class StartPipelineError(Exception):
class PipelineInputError(Exception):
pass
+
+
+class PipeExecutionError(PipelexException):
+ pass
diff --git a/pipelex/pipeline/execute.py b/pipelex/pipeline/execute.py
index 96f4093ab..274186dfc 100644
--- a/pipelex/pipeline/execute.py
+++ b/pipelex/pipeline/execute.py
@@ -1,9 +1,12 @@
+from typing import TYPE_CHECKING
+
from pipelex.client.protocol import PipelineInputs
from pipelex.core.memory.working_memory import WorkingMemory
from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory
from pipelex.core.pipes.pipe_output import PipeOutput
-from pipelex.exceptions import PipelineExecutionError, PipeRouterError
+from pipelex.exceptions import PipeExecutionError, PipelineExecutionError, PipeRouterError
from pipelex.hub import (
+ get_library_manager,
get_pipe_router,
get_pipeline_manager,
get_report_delegate,
@@ -18,18 +21,24 @@ from pipelex.pipe_run.pipe_run_params import (
)
from pipelex.pipe_run.pipe_run_params_factory import PipeRunParamsFactory
from pipelex.pipeline.job_metadata import JobMetadata
+from pipelex.pipeline.validate_plx import validate_plx
from pipelex.system.environment import get_optional_env
from pipelex.system.telemetry.events import EventName, EventProperty, Outcome
+if TYPE_CHECKING:
+ from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint
+ from pipelex.core.pipes.pipe_abstract import PipeAbstract
+
async def execute_pipeline(
- pipe_code: str,
+ pipe_code: str | None = None,
+ plx_content: str | None = None,
inputs: PipelineInputs | WorkingMemory | None = None,
- search_domains: list[str] | None = None,
output_name: str | None = None,
output_multiplicity: VariableMultiplicity | None = None,
dynamic_output_concept_code: str | None = None,
pipe_run_mode: PipeRunMode | None = None,
+ search_domains: list[str] | None = None,
) -> PipeOutput:
"""Execute a pipeline and wait for its completion.
@@ -40,9 +49,11 @@ async def execute_pipeline(
Parameters
----------
pipe_code:
- The code of the pipe to execute.
+ The code identifying the pipeline to execute.
+ plx_content:
+ Content of the pipeline bundle to execute.
inputs:
- Optional pipeline inputs or working memory to pass to the pipe.
+ Inputs passed to the pipeline.
output_name:
Name of the output slot to write to.
output_multiplicity:
@@ -63,8 +74,30 @@ async def execute_pipeline(
A tuple containing the pipe output and the pipeline run ID.
"""
+ if not plx_content and not pipe_code:
+ msg = "Either pipe_code or plx_content must be provided to the API execute_pipeline."
+ raise ValueError(msg)
+
+ pipe: PipeAbstract | None = None
+ blueprint: PipelexBundleBlueprint | None = None
+
+ if plx_content:
+ blueprint, _ = await validate_plx(plx_content=plx_content, remove_after_validation=False)
+
+ if pipe_code:
+ pipe = get_required_pipe(pipe_code=pipe_code)
+ elif blueprint.main_pipe:
+ pipe = get_required_pipe(pipe_code=blueprint.main_pipe)
+ else:
+ msg = "No pipe code or main pipe in the PLX content provided to the API execute_pipeline."
+ raise PipeExecutionError(message=msg)
+ elif pipe_code:
+ pipe = get_required_pipe(pipe_code=pipe_code)
+ else:
+ msg = "Either provide pipe_code or plx_content to the API execute_pipeline. 'pipe_code' must be provided when 'plx_content' is None"
+ raise PipeExecutionError(message=msg)
+
search_domains = search_domains or []
- pipe = get_required_pipe(pipe_code=pipe_code)
if pipe.domain not in search_domains:
search_domains.insert(0, pipe.domain)
@@ -86,11 +119,10 @@ async def execute_pipeline(
pipe_run_mode = PipeRunMode.LIVE
pipeline = get_pipeline_manager().add_new_pipeline()
- pipeline_run_id = pipeline.pipeline_run_id
- get_report_delegate().open_registry(pipeline_run_id=pipeline_run_id)
+ get_report_delegate().open_registry(pipeline_run_id=pipeline.pipeline_run_id)
job_metadata = JobMetadata(
- pipeline_run_id=pipeline_run_id,
+ pipeline_run_id=pipeline.pipeline_run_id,
)
pipe_run_params = PipeRunParamsFactory.make_run_params(
@@ -122,6 +154,9 @@ async def execute_pipeline(
output_name=pipe_job.output_name,
pipe_stack=pipe_job.pipe_run_params.pipe_stack,
) from exc
+ finally:
+ if plx_content and blueprint is not None:
+ get_library_manager().remove_from_blueprint(blueprint=blueprint)
properties = {
EventProperty.PIPELINE_RUN_ID: job_metadata.pipeline_run_id,
EventProperty.PIPELINE_EXECUTE_OUTCOME: Outcome.SUCCESS,
diff --git a/pipelex/pipeline/start.py b/pipelex/pipeline/start.py
index 0e82923d8..93b0debd2 100644
--- a/pipelex/pipeline/start.py
+++ b/pipelex/pipeline/start.py
@@ -4,7 +4,12 @@ from pipelex.client.protocol import PipelineInputs
from pipelex.core.memory.working_memory import WorkingMemory
from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory
from pipelex.core.pipes.pipe_output import PipeOutput
-from pipelex.hub import get_pipe_router, get_pipeline_manager, get_report_delegate, get_required_pipe
+from pipelex.hub import (
+ get_pipe_router,
+ get_pipeline_manager,
+ get_report_delegate,
+ get_required_pipe,
+)
from pipelex.pipe_run.pipe_job_factory import PipeJobFactory
from pipelex.pipe_run.pipe_run_mode import PipeRunMode
from pipelex.pipe_run.pipe_run_params import VariableMultiplicity
@@ -19,6 +24,7 @@ async def start_pipeline(
output_multiplicity: VariableMultiplicity | None = None,
dynamic_output_concept_code: str | None = None,
pipe_run_mode: PipeRunMode = PipeRunMode.LIVE,
+ search_domains: list[str] | None = None,
) -> tuple[str, asyncio.Task[PipeOutput]]:
"""Start a pipeline in the background.
@@ -30,7 +36,7 @@ async def start_pipeline(
Parameters
----------
pipe_code:
- The code of the pipe to execute.
+ The code identifying the pipeline to execute.
inputs:
Optional pipeline inputs or working memory to pass to the pipe.
output_name:
@@ -41,6 +47,8 @@ async def start_pipeline(
Override the dynamic output concept code.
pipe_run_mode:
Pipe run mode: ``PipeRunMode.LIVE`` or ``PipeRunMode.DRY``.
+ search_domains:
+ List of domains to search for pipes.
Returns:
-------
@@ -49,21 +57,28 @@ async def start_pipeline(
can be awaited to get the pipe output.
"""
+ pipe = get_required_pipe(pipe_code=pipe_code)
+
+ search_domains = search_domains or []
+ if pipe.domain not in search_domains:
+ search_domains.insert(0, pipe.domain)
+
working_memory: WorkingMemory | None = None
if inputs:
if isinstance(inputs, WorkingMemory):
working_memory = inputs
else:
- working_memory = WorkingMemoryFactory.make_from_pipeline_inputs(pipeline_inputs=inputs)
+ working_memory = WorkingMemoryFactory.make_from_pipeline_inputs(
+ pipeline_inputs=inputs,
+ search_domains=search_domains,
+ )
pipeline = get_pipeline_manager().add_new_pipeline()
- pipeline_run_id = pipeline.pipeline_run_id
- get_report_delegate().open_registry(pipeline_run_id=pipeline_run_id)
- pipe = get_required_pipe(pipe_code=pipe_code)
+ get_report_delegate().open_registry(pipeline_run_id=pipeline.pipeline_run_id)
job_metadata = JobMetadata(
- pipeline_run_id=pipeline_run_id,
+ pipeline_run_id=pipeline.pipeline_run_id,
)
pipe_run_params = PipeRunParamsFactory.make_run_params(
@@ -86,4 +101,4 @@ async def start_pipeline(
# Launch execution without awaiting the result.
task: asyncio.Task[PipeOutput] = asyncio.create_task(get_pipe_router().run(pipe_job))
- return pipeline_run_id, task
+ return pipeline.pipeline_run_id, task
diff --git a/pipelex/pipeline/validate_plx.py b/pipelex/pipeline/validate_plx.py
new file mode 100644
index 000000000..ac1fd45f9
--- /dev/null
+++ b/pipelex/pipeline/validate_plx.py
@@ -0,0 +1,76 @@
+from pydantic import ValidationError
+
+from pipelex import log
+from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint
+from pipelex.core.exceptions import PipelexConfigurationError
+from pipelex.core.interpreter import PipelexInterpreter, PLXDecodeError
+from pipelex.core.pipes.pipe_abstract import PipeAbstract
+from pipelex.exceptions import (
+ ConceptLoadingError,
+ DomainLoadingError,
+ DryRunError,
+ PipeLibraryError,
+ PipeLoadingError,
+)
+from pipelex.hub import get_library_manager
+from pipelex.pipe_run.dry_run import dry_run_pipes
+
+
+async def validate_plx(plx_content: str, remove_after_validation: bool = True) -> tuple[PipelexBundleBlueprint, list[PipeAbstract]]:
+ """Validate PLX content.
+
+ This function:
+ 1. Parses PLX content into a bundle blueprint
+ 2. Loads pipes from the blueprint
+ 3. Runs static validation and dry runs all pipes
+
+ Args:
+ plx_content: The PLX content to validate
+ remove_after_validation: Whether to remove the blueprint from the library manager after validation
+
+ Returns:
+ Tuple of (blueprint, pipes): The blueprint and the loaded pipes
+
+ Raises:
+ PipelexConfigurationError: For interpreter configuration errors
+ PLXDecodeError: For PLX parsing/decoding errors
+ ValidationError: For Pydantic validation errors in blueprint
+ DomainLoadingError: For domain loading errors
+ ConceptLoadingError: For concept loading errors
+ PipeLoadingError: For pipe loading errors
+ PipeLibraryError: For pipe library validation errors
+ DryRunError: For dry run validation errors
+ """
+ library_manager = get_library_manager()
+ blueprint: PipelexBundleBlueprint | None = None
+
+ try:
+ converter = PipelexInterpreter(file_content=plx_content)
+ blueprint = converter.make_pipelex_bundle_blueprint()
+
+ pipes = library_manager.load_from_blueprint(blueprint=blueprint)
+
+ for pipe in pipes:
+ pipe.validate_with_libraries()
+ await dry_run_pipes(pipes=[pipe], raise_on_failure=True)
+
+ if remove_after_validation:
+ library_manager.remove_from_blueprint(blueprint=blueprint)
+ return blueprint, pipes
+ except (
+ PipelexConfigurationError,
+ PLXDecodeError,
+ ValidationError,
+ DomainLoadingError,
+ ConceptLoadingError,
+ PipeLoadingError,
+ PipeLibraryError,
+ DryRunError,
+ ):
+ if blueprint is not None:
+ try:
+ library_manager.remove_from_blueprint(blueprint=blueprint)
+ except Exception as cleanup_error:
+ log.error(f"Error during cleanup after validation failure: {cleanup_error}")
+
+ raise
diff --git a/tests/integration/pipelex/client/test_client.py b/tests/integration/pipelex/client/test_client.py
index 7000f63e6..77f3a6807 100644
--- a/tests/integration/pipelex/client/test_client.py
+++ b/tests/integration/pipelex/client/test_client.py
@@ -106,7 +106,7 @@ class TestPipelexApiClient:
client = PipelexClient()
pipeline_reponse = await client.execute_pipeline(
pipe_code=example.pipe_code,
- working_memory=memory,
+ inputs=memory,
)
pretty_print(pipeline_reponse, title="PIPELINE RESPONSE")
diff --git a/tests/integration/pipelex/language/test_plx_factory.py b/tests/integration/pipelex/language/test_plx_factory.py
index 8930a5473..109069b18 100644
--- a/tests/integration/pipelex/language/test_plx_factory.py
+++ b/tests/integration/pipelex/language/test_plx_factory.py
@@ -3,7 +3,7 @@ import pytest
from pipelex import pretty_print
from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint
from pipelex.language.plx_factory import PlxFactory
-from tests.unit.pipelex.core.test_data import InterpreterTestCases
+from tests.unit.core.test_data import InterpreterTestCases
class TestPlxFactoryIntegration:
diff --git a/tests/unit/pipelex/builder/concept/test_concept_blueprint.py b/tests/unit/builder/concept/test_concept_blueprint.py
similarity index 92%
rename from tests/unit/pipelex/builder/concept/test_concept_blueprint.py
rename to tests/unit/builder/concept/test_concept_blueprint.py
index 4f3323bbd..3d5b6b7b2 100644
--- a/tests/unit/pipelex/builder/concept/test_concept_blueprint.py
+++ b/tests/unit/builder/concept/test_concept_blueprint.py
@@ -3,7 +3,7 @@ import pytest
from pipelex import log
from pipelex.builder.concept.concept_spec import ConceptSpec
from pipelex.core.concepts.concept_blueprint import ConceptBlueprint
-from tests.unit.pipelex.builder.concept.test_data import ConceptBlueprintTestCases, ConceptCodeValidationTestCases
+from tests.unit.builder.concept.test_data import ConceptBlueprintTestCases, ConceptCodeValidationTestCases
class TestConceptBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/concept/test_data.py b/tests/unit/builder/concept/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/concept/test_data.py
rename to tests/unit/builder/concept/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_batch/test_data.py b/tests/unit/builder/pipe/pipe_controller/pipe_batch/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_controller/pipe_batch/test_data.py
rename to tests/unit/builder/pipe/pipe_controller/pipe_batch/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_batch/test_pipe_batch.py b/tests/unit/builder/pipe/pipe_controller/pipe_batch/test_pipe_batch.py
similarity index 85%
rename from tests/unit/pipelex/builder/pipe/pipe_controller/pipe_batch/test_pipe_batch.py
rename to tests/unit/builder/pipe/pipe_controller/pipe_batch/test_pipe_batch.py
index 804a78db4..d39d2848a 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_batch/test_pipe_batch.py
+++ b/tests/unit/builder/pipe/pipe_controller/pipe_batch/test_pipe_batch.py
@@ -2,7 +2,7 @@ import pytest
from pipelex.builder.pipe.pipe_batch_spec import PipeBatchSpec
from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprint
-from tests.unit.pipelex.builder.pipe.pipe_controller.pipe_batch.test_data import PipeBatchTestCases
+from tests.unit.builder.pipe.pipe_controller.pipe_batch.test_data import PipeBatchTestCases
class TestPipeBatchBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_condition/test_data.py b/tests/unit/builder/pipe/pipe_controller/pipe_condition/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_controller/pipe_condition/test_data.py
rename to tests/unit/builder/pipe/pipe_controller/pipe_condition/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_condition/test_pipe_condition.py b/tests/unit/builder/pipe/pipe_controller/pipe_condition/test_pipe_condition.py
similarity index 85%
rename from tests/unit/pipelex/builder/pipe/pipe_controller/pipe_condition/test_pipe_condition.py
rename to tests/unit/builder/pipe/pipe_controller/pipe_condition/test_pipe_condition.py
index 4fece994d..ae5ffea8c 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_condition/test_pipe_condition.py
+++ b/tests/unit/builder/pipe/pipe_controller/pipe_condition/test_pipe_condition.py
@@ -2,7 +2,7 @@ import pytest
from pipelex.builder.pipe.pipe_condition_spec import PipeConditionSpec
from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint
-from tests.unit.pipelex.builder.pipe.pipe_controller.pipe_condition.test_data import PipeConditionTestCases
+from tests.unit.builder.pipe.pipe_controller.pipe_condition.test_data import PipeConditionTestCases
class TestPipeConditionBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_parallel/test_data.py b/tests/unit/builder/pipe/pipe_controller/pipe_parallel/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_controller/pipe_parallel/test_data.py
rename to tests/unit/builder/pipe/pipe_controller/pipe_parallel/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_parallel/test_pipe_parallel.py b/tests/unit/builder/pipe/pipe_controller/pipe_parallel/test_pipe_parallel.py
similarity index 87%
rename from tests/unit/pipelex/builder/pipe/pipe_controller/pipe_parallel/test_pipe_parallel.py
rename to tests/unit/builder/pipe/pipe_controller/pipe_parallel/test_pipe_parallel.py
index 23750cb39..c92be6cd4 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_parallel/test_pipe_parallel.py
+++ b/tests/unit/builder/pipe/pipe_controller/pipe_parallel/test_pipe_parallel.py
@@ -3,7 +3,7 @@ import pytest
from pipelex import log
from pipelex.builder.pipe.pipe_parallel_spec import PipeParallelSpec
from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint
-from tests.unit.pipelex.builder.pipe.pipe_controller.pipe_parallel.test_data import PipeParallelTestCases
+from tests.unit.builder.pipe.pipe_controller.pipe_parallel.test_data import PipeParallelTestCases
class TestPipeParallelBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_sequence/test_data.py b/tests/unit/builder/pipe/pipe_controller/pipe_sequence/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_controller/pipe_sequence/test_data.py
rename to tests/unit/builder/pipe/pipe_controller/pipe_sequence/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_sequence/test_pipe_sequence.py b/tests/unit/builder/pipe/pipe_controller/pipe_sequence/test_pipe_sequence.py
similarity index 85%
rename from tests/unit/pipelex/builder/pipe/pipe_controller/pipe_sequence/test_pipe_sequence.py
rename to tests/unit/builder/pipe/pipe_controller/pipe_sequence/test_pipe_sequence.py
index 6cd1fee7e..83adea8fe 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_controller/pipe_sequence/test_pipe_sequence.py
+++ b/tests/unit/builder/pipe/pipe_controller/pipe_sequence/test_pipe_sequence.py
@@ -2,7 +2,7 @@ import pytest
from pipelex.builder.pipe.pipe_sequence_spec import PipeSequenceSpec
from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint
-from tests.unit.pipelex.builder.pipe.pipe_controller.pipe_sequence.test_data import PipeSequenceTestCases
+from tests.unit.builder.pipe.pipe_controller.pipe_sequence.test_data import PipeSequenceTestCases
class TestPipeSequenceBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_compose/test_data.py b/tests/unit/builder/pipe/pipe_operator/pipe_compose/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_compose/test_data.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_compose/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_compose/test_pipe_compose.py b/tests/unit/builder/pipe/pipe_operator/pipe_compose/test_pipe_compose.py
similarity index 85%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_compose/test_pipe_compose.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_compose/test_pipe_compose.py
index 8af557694..f868e7bdc 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_compose/test_pipe_compose.py
+++ b/tests/unit/builder/pipe/pipe_operator/pipe_compose/test_pipe_compose.py
@@ -2,7 +2,7 @@ import pytest
from pipelex.builder.pipe.pipe_compose_spec import PipeComposeSpec
from pipelex.pipe_operators.compose.pipe_compose_blueprint import PipeComposeBlueprint
-from tests.unit.pipelex.builder.pipe.pipe_operator.pipe_compose.test_data import PipeComposeTestCases
+from tests.unit.builder.pipe.pipe_operator.pipe_compose.test_data import PipeComposeTestCases
class TestPipeComposeBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_extract/test_data.py b/tests/unit/builder/pipe/pipe_operator/pipe_extract/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_extract/test_data.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_extract/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_extract/test_pipe_extract.py b/tests/unit/builder/pipe/pipe_operator/pipe_extract/test_pipe_extract.py
similarity index 86%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_extract/test_pipe_extract.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_extract/test_pipe_extract.py
index 3b7b96198..f59c58043 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_extract/test_pipe_extract.py
+++ b/tests/unit/builder/pipe/pipe_operator/pipe_extract/test_pipe_extract.py
@@ -3,7 +3,7 @@ import pytest
from pipelex import log
from pipelex.builder.pipe.pipe_extract_spec import PipeExtractSpec
from pipelex.pipe_operators.extract.pipe_extract_blueprint import PipeExtractBlueprint
-from tests.unit.pipelex.builder.pipe.pipe_operator.pipe_extract.test_data import PipeExtractTestCases
+from tests.unit.builder.pipe.pipe_operator.pipe_extract.test_data import PipeExtractTestCases
class TestPipeExtractBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_func/test_data.py b/tests/unit/builder/pipe/pipe_operator/pipe_func/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_func/test_data.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_func/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_func/test_pipe_func.py b/tests/unit/builder/pipe/pipe_operator/pipe_func/test_pipe_func.py
similarity index 86%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_func/test_pipe_func.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_func/test_pipe_func.py
index 59496b93f..b4315ef1d 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_func/test_pipe_func.py
+++ b/tests/unit/builder/pipe/pipe_operator/pipe_func/test_pipe_func.py
@@ -2,7 +2,7 @@ import pytest
from pipelex.builder.pipe.pipe_func_spec import PipeFuncSpec
from pipelex.pipe_operators.func.pipe_func_blueprint import PipeFuncBlueprint
-from tests.unit.pipelex.builder.pipe.pipe_operator.pipe_func.test_data import PipeFuncTestCases
+from tests.unit.builder.pipe.pipe_operator.pipe_func.test_data import PipeFuncTestCases
class TestPipeFuncBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_img_gen/test_data.py b/tests/unit/builder/pipe/pipe_operator/pipe_img_gen/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_img_gen/test_data.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_img_gen/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_img_gen/test_pipe_img_gen.py b/tests/unit/builder/pipe/pipe_operator/pipe_img_gen/test_pipe_img_gen.py
similarity index 85%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_img_gen/test_pipe_img_gen.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_img_gen/test_pipe_img_gen.py
index e29dbf9d2..934d93915 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_img_gen/test_pipe_img_gen.py
+++ b/tests/unit/builder/pipe/pipe_operator/pipe_img_gen/test_pipe_img_gen.py
@@ -2,7 +2,7 @@ import pytest
from pipelex.builder.pipe.pipe_img_gen_spec import PipeImgGenSpec
from pipelex.pipe_operators.img_gen.pipe_img_gen_blueprint import PipeImgGenBlueprint
-from tests.unit.pipelex.builder.pipe.pipe_operator.pipe_img_gen.test_data import PipeImgGenTestCases
+from tests.unit.builder.pipe.pipe_operator.pipe_img_gen.test_data import PipeImgGenTestCases
class TestPipeImgGenBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_llm/test_data.py b/tests/unit/builder/pipe/pipe_operator/pipe_llm/test_data.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_llm/test_data.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_llm/test_data.py
diff --git a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_llm/test_pipe_llm.py b/tests/unit/builder/pipe/pipe_operator/pipe_llm/test_pipe_llm.py
similarity index 90%
rename from tests/unit/pipelex/builder/pipe/pipe_operator/pipe_llm/test_pipe_llm.py
rename to tests/unit/builder/pipe/pipe_operator/pipe_llm/test_pipe_llm.py
index 4f7b9b9e0..c240fd1af 100644
--- a/tests/unit/pipelex/builder/pipe/pipe_operator/pipe_llm/test_pipe_llm.py
+++ b/tests/unit/builder/pipe/pipe_operator/pipe_llm/test_pipe_llm.py
@@ -4,7 +4,7 @@ from pipelex import pretty_print
from pipelex.builder.pipe.pipe_llm_spec import PipeLLMSpec
from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint
from pipelex.pipe_operators.llm.pipe_llm_factory import PipeLLMFactory
-from tests.unit.pipelex.builder.pipe.pipe_operator.pipe_llm.test_data import PipeLLMTestCases
+from tests.unit.builder.pipe.pipe_operator.pipe_llm.test_data import PipeLLMTestCases
class TestPipeLLMBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/test_data_inputs.py b/tests/unit/builder/pipe/test_data_inputs.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/test_data_inputs.py
rename to tests/unit/builder/pipe/test_data_inputs.py
diff --git a/tests/unit/pipelex/builder/pipe/test_data_pipe.py b/tests/unit/builder/pipe/test_data_pipe.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/test_data_pipe.py
rename to tests/unit/builder/pipe/test_data_pipe.py
diff --git a/tests/unit/pipelex/builder/pipe/test_data_sub_pipe.py b/tests/unit/builder/pipe/test_data_sub_pipe.py
similarity index 100%
rename from tests/unit/pipelex/builder/pipe/test_data_sub_pipe.py
rename to tests/unit/builder/pipe/test_data_sub_pipe.py
diff --git a/tests/unit/pipelex/builder/pipe/test_inputs_blueprint.py b/tests/unit/builder/pipe/test_inputs_blueprint.py
similarity index 84%
rename from tests/unit/pipelex/builder/pipe/test_inputs_blueprint.py
rename to tests/unit/builder/pipe/test_inputs_blueprint.py
index 57fcba7a7..c8dd48f7d 100644
--- a/tests/unit/pipelex/builder/pipe/test_inputs_blueprint.py
+++ b/tests/unit/builder/pipe/test_inputs_blueprint.py
@@ -1,6 +1,6 @@
import pytest
-from tests.unit.pipelex.builder.pipe.test_data_inputs import InputRequirementTestCases
+from tests.unit.builder.pipe.test_data_inputs import InputRequirementTestCases
class TestInputRequirementBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/test_pipe_blueprint.py b/tests/unit/builder/pipe/test_pipe_blueprint.py
similarity index 87%
rename from tests/unit/pipelex/builder/pipe/test_pipe_blueprint.py
rename to tests/unit/builder/pipe/test_pipe_blueprint.py
index d1f1ccf6c..0b90f17fc 100644
--- a/tests/unit/pipelex/builder/pipe/test_pipe_blueprint.py
+++ b/tests/unit/builder/pipe/test_pipe_blueprint.py
@@ -2,7 +2,7 @@ import pytest
from pipelex.builder.pipe.pipe_spec import PipeSpec
from pipelex.core.pipes.pipe_blueprint import PipeBlueprint
-from tests.unit.pipelex.builder.pipe.test_data_pipe import PipeBlueprintTestCases
+from tests.unit.builder.pipe.test_data_pipe import PipeBlueprintTestCases
class TestPipeBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/pipe/test_sub_pipe_blueprint.py b/tests/unit/builder/pipe/test_sub_pipe_blueprint.py
similarity index 87%
rename from tests/unit/pipelex/builder/pipe/test_sub_pipe_blueprint.py
rename to tests/unit/builder/pipe/test_sub_pipe_blueprint.py
index 5b21da5fb..ab8912edd 100644
--- a/tests/unit/pipelex/builder/pipe/test_sub_pipe_blueprint.py
+++ b/tests/unit/builder/pipe/test_sub_pipe_blueprint.py
@@ -2,7 +2,7 @@ import pytest
from pipelex.builder.pipe.sub_pipe_spec import SubPipeSpec
from pipelex.pipe_controllers.sub_pipe_blueprint import SubPipeBlueprint
-from tests.unit.pipelex.builder.pipe.test_data_sub_pipe import SubPipeTestCases
+from tests.unit.builder.pipe.test_data_sub_pipe import SubPipeTestCases
class TestSubPipeBlueprintConversion:
diff --git a/tests/unit/pipelex/builder/test_pipelex_bundle_blueprint.py b/tests/unit/builder/test_pipelex_bundle_blueprint.py
similarity index 100%
rename from tests/unit/pipelex/builder/test_pipelex_bundle_blueprint.py
rename to tests/unit/builder/test_pipelex_bundle_blueprint.py
diff --git a/tests/unit/pipelex/builder/test_runner_generator.py b/tests/unit/builder/test_runner_generator.py
similarity index 100%
rename from tests/unit/pipelex/builder/test_runner_generator.py
rename to tests/unit/builder/test_runner_generator.py
diff --git a/tests/unit/pipelex/cli/commands/test_init_cmd.py b/tests/unit/cli/commands/test_init_cmd.py
similarity index 100%
rename from tests/unit/pipelex/cli/commands/test_init_cmd.py
rename to tests/unit/cli/commands/test_init_cmd.py
diff --git a/tests/unit/pipelex/client/test_api_serialization.py b/tests/unit/client/test_api_serialization.py
similarity index 100%
rename from tests/unit/pipelex/client/test_api_serialization.py
rename to tests/unit/client/test_api_serialization.py
diff --git a/tests/unit/pipelex/cogt/models/test_model_deck.py b/tests/unit/cogt/models/test_model_deck.py
similarity index 100%
rename from tests/unit/pipelex/cogt/models/test_model_deck.py
rename to tests/unit/cogt/models/test_model_deck.py
diff --git a/tests/unit/pipelex/cogt/templating/test_template_preprocessor.py b/tests/unit/cogt/templating/test_template_preprocessor.py
similarity index 100%
rename from tests/unit/pipelex/cogt/templating/test_template_preprocessor.py
rename to tests/unit/cogt/templating/test_template_preprocessor.py
diff --git a/tests/unit/pipelex/cogt/usage/test_cost_registry.py b/tests/unit/cogt/usage/test_cost_registry.py
similarity index 100%
rename from tests/unit/pipelex/cogt/usage/test_cost_registry.py
rename to tests/unit/cogt/usage/test_cost_registry.py
diff --git a/tests/unit/pipelex/core/bundles/test_data_pipe_sorter.py b/tests/unit/core/bundles/test_data_pipe_sorter.py
similarity index 100%
rename from tests/unit/pipelex/core/bundles/test_data_pipe_sorter.py
rename to tests/unit/core/bundles/test_data_pipe_sorter.py
diff --git a/tests/unit/pipelex/core/bundles/test_pipe_sorter.py b/tests/unit/core/bundles/test_pipe_sorter.py
similarity index 97%
rename from tests/unit/pipelex/core/bundles/test_pipe_sorter.py
rename to tests/unit/core/bundles/test_pipe_sorter.py
index 9f8718aaf..2c72fbe22 100644
--- a/tests/unit/pipelex/core/bundles/test_pipe_sorter.py
+++ b/tests/unit/core/bundles/test_pipe_sorter.py
@@ -4,7 +4,7 @@ import pytest
from pipelex.core.bundles.pipe_sorter import sort_pipes_by_dependencies
from pipelex.core.bundles.pipelex_bundle_blueprint import PipeBlueprintUnion
-from tests.unit.pipelex.core.bundles.test_data_pipe_sorter import PipeSorterTestCases
+from tests.unit.core.bundles.test_data_pipe_sorter import PipeSorterTestCases
class TestSortPipesByDependencies:
diff --git a/tests/unit/pipelex/core/concepts/__init__.py b/tests/unit/core/concepts/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/__init__.py
rename to tests/unit/core/concepts/__init__.py
diff --git a/tests/unit/pipelex/core/concepts/concept_factory/data.py b/tests/unit/core/concepts/concept_factory/data.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/concept_factory/data.py
rename to tests/unit/core/concepts/concept_factory/data.py
diff --git a/tests/unit/pipelex/core/concepts/concept_factory/test_concept_factory.py b/tests/unit/core/concepts/concept_factory/test_concept_factory.py
similarity index 98%
rename from tests/unit/pipelex/core/concepts/concept_factory/test_concept_factory.py
rename to tests/unit/core/concepts/concept_factory/test_concept_factory.py
index f64ffd299..005e2a25c 100644
--- a/tests/unit/pipelex/core/concepts/concept_factory/test_concept_factory.py
+++ b/tests/unit/core/concepts/concept_factory/test_concept_factory.py
@@ -8,7 +8,7 @@ from pipelex.core.concepts.concept_blueprint import (
)
from pipelex.core.concepts.concept_factory import ConceptFactory
from pipelex.exceptions import StructureClassError
-from tests.unit.pipelex.core.concepts.concept_factory.data import TestCases
+from tests.unit.core.concepts.concept_factory.data import TestCases
class TestConceptFactory:
diff --git a/tests/unit/pipelex/core/concepts/concept_library/test_concept_library.py b/tests/unit/core/concepts/concept_library/test_concept_library.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/concept_library/test_concept_library.py
rename to tests/unit/core/concepts/concept_library/test_concept_library.py
diff --git a/tests/unit/pipelex/core/concepts/data.py b/tests/unit/core/concepts/data.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/data.py
rename to tests/unit/core/concepts/data.py
diff --git a/tests/unit/pipelex/core/concepts/test_concept.py b/tests/unit/core/concepts/test_concept.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/test_concept.py
rename to tests/unit/core/concepts/test_concept.py
diff --git a/tests/unit/pipelex/core/concepts/test_concept_blueprint.py b/tests/unit/core/concepts/test_concept_blueprint.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/test_concept_blueprint.py
rename to tests/unit/core/concepts/test_concept_blueprint.py
diff --git a/tests/unit/pipelex/core/concepts/test_concept_compact_memory.py b/tests/unit/core/concepts/test_concept_compact_memory.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/test_concept_compact_memory.py
rename to tests/unit/core/concepts/test_concept_compact_memory.py
diff --git a/tests/unit/pipelex/core/concepts/test_concept_find_image_field_paths.py b/tests/unit/core/concepts/test_concept_find_image_field_paths.py
similarity index 98%
rename from tests/unit/pipelex/core/concepts/test_concept_find_image_field_paths.py
rename to tests/unit/core/concepts/test_concept_find_image_field_paths.py
index 16822aaff..80631cde7 100644
--- a/tests/unit/pipelex/core/concepts/test_concept_find_image_field_paths.py
+++ b/tests/unit/core/concepts/test_concept_find_image_field_paths.py
@@ -7,8 +7,8 @@ from pipelex.core.concepts.concept_native import NativeConceptCode
from pipelex.core.stuffs.structured_content import StructuredContent
from pipelex.hub import get_concept_library, get_native_concept, get_required_concept
from pipelex.system.registries.class_registry_utils import ClassRegistryUtils
-from tests.unit.pipelex.core.concepts import data
-from tests.unit.pipelex.core.concepts.data import TestData
+from tests.unit.core.concepts import data
+from tests.unit.core.concepts.data import TestData
if TYPE_CHECKING:
from pipelex.core.concepts.concept import Concept
diff --git a/tests/unit/pipelex/core/concepts/test_structure_generator_escaping.py b/tests/unit/core/concepts/test_structure_generator_escaping.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/test_structure_generator_escaping.py
rename to tests/unit/core/concepts/test_structure_generator_escaping.py
diff --git a/tests/unit/pipelex/core/concepts/test_structured_output_generator.py b/tests/unit/core/concepts/test_structured_output_generator.py
similarity index 100%
rename from tests/unit/pipelex/core/concepts/test_structured_output_generator.py
rename to tests/unit/core/concepts/test_structured_output_generator.py
diff --git a/tests/unit/pipelex/core/interpreter/test_interpreter.py b/tests/unit/core/interpreter/test_interpreter.py
similarity index 96%
rename from tests/unit/pipelex/core/interpreter/test_interpreter.py
rename to tests/unit/core/interpreter/test_interpreter.py
index 32073c02a..f6eeea9c5 100644
--- a/tests/unit/pipelex/core/interpreter/test_interpreter.py
+++ b/tests/unit/core/interpreter/test_interpreter.py
@@ -5,7 +5,7 @@ import pytest
from pipelex import log, pretty_print
from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint
from pipelex.core.interpreter import PipelexInterpreter
-from tests.unit.pipelex.core.test_data import InterpreterTestCases
+from tests.unit.core.test_data import InterpreterTestCases
class TestPipelexInterpreter:
diff --git a/tests/unit/pipelex/core/memory/conftest.py b/tests/unit/core/memory/conftest.py
similarity index 100%
rename from tests/unit/pipelex/core/memory/conftest.py
rename to tests/unit/core/memory/conftest.py
diff --git a/tests/unit/pipelex/core/memory/test_dry_working_memory.py b/tests/unit/core/memory/test_dry_working_memory.py
similarity index 100%
rename from tests/unit/pipelex/core/memory/test_dry_working_memory.py
rename to tests/unit/core/memory/test_dry_working_memory.py
diff --git a/tests/unit/pipelex/core/memory/test_working_memory_basic.py b/tests/unit/core/memory/test_working_memory_basic.py
similarity index 96%
rename from tests/unit/pipelex/core/memory/test_working_memory_basic.py
rename to tests/unit/core/memory/test_working_memory_basic.py
index de907a377..7ce7c3a7a 100644
--- a/tests/unit/pipelex/core/memory/test_working_memory_basic.py
+++ b/tests/unit/core/memory/test_working_memory_basic.py
@@ -2,7 +2,7 @@ from pipelex.core.concepts.concept_native import NativeConceptCode
from pipelex.core.memory.working_memory import MAIN_STUFF_NAME, WorkingMemory
from pipelex.core.memory.working_memory_factory import WorkingMemoryFactory
from pipelex.core.stuffs.text_content import TextContent
-from tests.unit.pipelex.core.memory.conftest import TestWorkingMemoryData
+from tests.unit.core.memory.conftest import TestWorkingMemoryData
class TestWorkingMemoryBasic:
diff --git a/tests/unit/pipelex/core/memory/test_working_memory_generate_context.py b/tests/unit/core/memory/test_working_memory_generate_context.py
similarity index 99%
rename from tests/unit/pipelex/core/memory/test_working_memory_generate_context.py
rename to tests/unit/core/memory/test_working_memory_generate_context.py
index 4a895b892..af219a722 100644
--- a/tests/unit/pipelex/core/memory/test_working_memory_generate_context.py
+++ b/tests/unit/core/memory/test_working_memory_generate_context.py
@@ -7,7 +7,7 @@ from pipelex.core.stuffs.number_content import NumberContent
from pipelex.core.stuffs.stuff_artefact import StuffArtefact
from pipelex.core.stuffs.text_and_images_content import TextAndImagesContent
from pipelex.core.stuffs.text_content import TextContent
-from tests.unit.pipelex.core.memory.conftest import TestWorkingMemoryData
+from tests.unit.core.memory.conftest import TestWorkingMemoryData
class TestWorkingMemoryGenerateContext:
diff --git a/tests/unit/pipelex/core/memory/test_working_memory_typed_access.py b/tests/unit/core/memory/test_working_memory_typed_access.py
similarity index 99%
rename from tests/unit/pipelex/core/memory/test_working_memory_typed_access.py
rename to tests/unit/core/memory/test_working_memory_typed_access.py
index 4c1af32ef..393ced263 100644
--- a/tests/unit/pipelex/core/memory/test_working_memory_typed_access.py
+++ b/tests/unit/core/memory/test_working_memory_typed_access.py
@@ -14,7 +14,7 @@ from pipelex.core.stuffs.stuff_factory import StuffFactory
from pipelex.core.stuffs.text_and_images_content import TextAndImagesContent
from pipelex.core.stuffs.text_content import TextContent
from pipelex.exceptions import WorkingMemoryStuffAttributeNotFoundError, WorkingMemoryTypeError
-from tests.unit.pipelex.core.memory.conftest import TestWorkingMemoryData
+from tests.unit.core.memory.conftest import TestWorkingMemoryData
@pytest.fixture
diff --git a/tests/unit/pipelex/core/pipes/data.py b/tests/unit/core/pipes/data.py
similarity index 100%
rename from tests/unit/pipelex/core/pipes/data.py
rename to tests/unit/core/pipes/data.py
diff --git a/tests/unit/pipelex/core/pipes/test_input_requirements_factory.py b/tests/unit/core/pipes/test_input_requirements_factory.py
similarity index 99%
rename from tests/unit/pipelex/core/pipes/test_input_requirements_factory.py
rename to tests/unit/core/pipes/test_input_requirements_factory.py
index 7058b5d5a..07e55b44c 100644
--- a/tests/unit/pipelex/core/pipes/test_input_requirements_factory.py
+++ b/tests/unit/core/pipes/test_input_requirements_factory.py
@@ -5,7 +5,7 @@ from pipelex.core.domains.exceptions import DomainError
from pipelex.core.pipes.input_requirements import InputRequirement
from pipelex.core.pipes.input_requirements_factory import InputRequirementsFactory, InputRequirementsFactorySyntaxError
from pipelex.exceptions import ConceptLibraryConceptNotFoundError
-from tests.unit.pipelex.core.pipes.data import (
+from tests.unit.core.pipes.data import (
CONCEPT_CODE_RESOLUTION_TEST_CASES,
DIFFERENT_CONCEPT_CODES_TEST_CASES,
EXPLICIT_DOMAIN_IN_STRING_TEST_CASES,
diff --git a/tests/unit/pipelex/core/pipes/test_make_variable_multiplicity.py b/tests/unit/core/pipes/test_make_variable_multiplicity.py
similarity index 98%
rename from tests/unit/pipelex/core/pipes/test_make_variable_multiplicity.py
rename to tests/unit/core/pipes/test_make_variable_multiplicity.py
index a1dc65b65..4de9b9eb9 100644
--- a/tests/unit/pipelex/core/pipes/test_make_variable_multiplicity.py
+++ b/tests/unit/core/pipes/test_make_variable_multiplicity.py
@@ -1,7 +1,7 @@
import pytest
from pipelex.core.pipes.variable_multiplicity import VariableMultiplicity, make_variable_multiplicity
-from tests.unit.pipelex.core.pipes.data import MAKE_VARIABLE_MULTIPLICITY_TEST_CASES
+from tests.unit.core.pipes.data import MAKE_VARIABLE_MULTIPLICITY_TEST_CASES
class TestMakeVariableMultiplicity:
diff --git a/tests/unit/pipelex/core/pipes/test_parse_concept_with_multiplicity.py b/tests/unit/core/pipes/test_parse_concept_with_multiplicity.py
similarity index 100%
rename from tests/unit/pipelex/core/pipes/test_parse_concept_with_multiplicity.py
rename to tests/unit/core/pipes/test_parse_concept_with_multiplicity.py
diff --git a/tests/unit/pipelex/core/stuffs/test_stuff_content_factory.py b/tests/unit/core/stuffs/test_stuff_content_factory.py
similarity index 100%
rename from tests/unit/pipelex/core/stuffs/test_stuff_content_factory.py
rename to tests/unit/core/stuffs/test_stuff_content_factory.py
diff --git a/tests/unit/core/test_data/__init__.py b/tests/unit/core/test_data/__init__.py
new file mode 100644
index 000000000..ed37e33e4
--- /dev/null
+++ b/tests/unit/core/test_data/__init__.py
@@ -0,0 +1,48 @@
+from typing import ClassVar
+
+from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint
+from tests.unit.core.test_data.complex.multi_feature import COMPLEX_TEST_CASES
+from tests.unit.core.test_data.concepts.refining_concepts import REFINING_CONCEPT_TEST_CASES
+from tests.unit.core.test_data.concepts.simple_concepts import SIMPLE_CONCEPT_TEST_CASES
+from tests.unit.core.test_data.concepts.structured_concepts import STRUCTURED_CONCEPT_TEST_CASES
+from tests.unit.core.test_data.domain.simple_domains import DOMAIN_TEST_CASES
+from tests.unit.core.test_data.errors.invalid_plx import ERROR_TEST_CASES
+from tests.unit.core.test_data.pipes.controllers.batch.pipe_batch import PIPE_BATCH_TEST_CASES
+from tests.unit.core.test_data.pipes.controllers.condition.pipe_condition import PIPE_CONDITION_TEST_CASES
+from tests.unit.core.test_data.pipes.controllers.parallel.pipe_parallel import PIPE_PARALLEL_TEST_CASES
+from tests.unit.core.test_data.pipes.controllers.sequence.pipe_sequence import PIPE_SEQUENCE_TEST_CASES
+from tests.unit.core.test_data.pipes.operators.compose.pipe_compose import PIPE_COMPOSE_TEST_CASES
+from tests.unit.core.test_data.pipes.operators.extract.pipe_extract import PIPE_EXTRACT_TEST_CASES
+from tests.unit.core.test_data.pipes.operators.func.pipe_func import PIPE_FUNC_TEST_CASES
+from tests.unit.core.test_data.pipes.operators.img_gen.pipe_img_gen import PIPE_IMG_GEN_TEST_CASES
+from tests.unit.core.test_data.pipes.operators.llm.pipe_llm import PIPE_LLM_TEST_CASES
+
+
+class InterpreterTestCases:
+ """Test cases for PipelexInterpreter with PLX content and expected blueprints."""
+
+ # Aggregate all valid test cases from organized modules
+ VALID_TEST_CASES: ClassVar[list[tuple[str, str, PipelexBundleBlueprint]]] = [ # test_name,plx_content,blueprint
+ # Domain tests
+ *DOMAIN_TEST_CASES,
+ # Concept tests
+ *STRUCTURED_CONCEPT_TEST_CASES,
+ *REFINING_CONCEPT_TEST_CASES,
+ *SIMPLE_CONCEPT_TEST_CASES,
+ # Pipe operator tests
+ *PIPE_LLM_TEST_CASES,
+ *PIPE_EXTRACT_TEST_CASES,
+ *PIPE_FUNC_TEST_CASES,
+ *PIPE_IMG_GEN_TEST_CASES,
+ *PIPE_COMPOSE_TEST_CASES,
+ # Pipe controller tests
+ *PIPE_SEQUENCE_TEST_CASES,
+ *PIPE_CONDITION_TEST_CASES,
+ *PIPE_PARALLEL_TEST_CASES,
+ *PIPE_BATCH_TEST_CASES,
+ # Complex tests
+ *COMPLEX_TEST_CASES,
+ ]
+
+ # Error test cases
+ ERROR_TEST_CASES: ClassVar[list[tuple[str, str, type[Exception] | tuple[type[Exception], ...]]]] = ERROR_TEST_CASES
diff --git a/tests/unit/pipelex/core/test_data/complex/__init__.py b/tests/unit/core/test_data/complex/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/complex/__init__.py
rename to tests/unit/core/test_data/complex/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/complex/multi_feature.py b/tests/unit/core/test_data/complex/multi_feature.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/complex/multi_feature.py
rename to tests/unit/core/test_data/complex/multi_feature.py
diff --git a/tests/unit/pipelex/core/test_data/concepts/__init__.py b/tests/unit/core/test_data/concepts/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/concepts/__init__.py
rename to tests/unit/core/test_data/concepts/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/concepts/refining_concepts.py b/tests/unit/core/test_data/concepts/refining_concepts.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/concepts/refining_concepts.py
rename to tests/unit/core/test_data/concepts/refining_concepts.py
diff --git a/tests/unit/pipelex/core/test_data/concepts/simple_concepts.py b/tests/unit/core/test_data/concepts/simple_concepts.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/concepts/simple_concepts.py
rename to tests/unit/core/test_data/concepts/simple_concepts.py
diff --git a/tests/unit/pipelex/core/test_data/concepts/structured_concepts.py b/tests/unit/core/test_data/concepts/structured_concepts.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/concepts/structured_concepts.py
rename to tests/unit/core/test_data/concepts/structured_concepts.py
diff --git a/tests/unit/pipelex/core/test_data/domain/__init__.py b/tests/unit/core/test_data/domain/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/domain/__init__.py
rename to tests/unit/core/test_data/domain/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/domain/simple_domains.py b/tests/unit/core/test_data/domain/simple_domains.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/domain/simple_domains.py
rename to tests/unit/core/test_data/domain/simple_domains.py
diff --git a/tests/unit/pipelex/core/test_data/errors/__init__.py b/tests/unit/core/test_data/errors/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/errors/__init__.py
rename to tests/unit/core/test_data/errors/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/errors/invalid_plx.py b/tests/unit/core/test_data/errors/invalid_plx.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/errors/invalid_plx.py
rename to tests/unit/core/test_data/errors/invalid_plx.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/__init__.py b/tests/unit/core/test_data/pipes/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/__init__.py
rename to tests/unit/core/test_data/pipes/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/__init__.py b/tests/unit/core/test_data/pipes/controllers/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/__init__.py
rename to tests/unit/core/test_data/pipes/controllers/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/batch/__init__.py b/tests/unit/core/test_data/pipes/controllers/batch/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/batch/__init__.py
rename to tests/unit/core/test_data/pipes/controllers/batch/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/batch/pipe_batch.py b/tests/unit/core/test_data/pipes/controllers/batch/pipe_batch.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/batch/pipe_batch.py
rename to tests/unit/core/test_data/pipes/controllers/batch/pipe_batch.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/condition/__init__.py b/tests/unit/core/test_data/pipes/controllers/condition/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/condition/__init__.py
rename to tests/unit/core/test_data/pipes/controllers/condition/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/condition/pipe_condition.py b/tests/unit/core/test_data/pipes/controllers/condition/pipe_condition.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/condition/pipe_condition.py
rename to tests/unit/core/test_data/pipes/controllers/condition/pipe_condition.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/parallel/__init__.py b/tests/unit/core/test_data/pipes/controllers/parallel/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/parallel/__init__.py
rename to tests/unit/core/test_data/pipes/controllers/parallel/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/parallel/pipe_parallel.py b/tests/unit/core/test_data/pipes/controllers/parallel/pipe_parallel.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/parallel/pipe_parallel.py
rename to tests/unit/core/test_data/pipes/controllers/parallel/pipe_parallel.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/sequence/__init__.py b/tests/unit/core/test_data/pipes/controllers/sequence/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/sequence/__init__.py
rename to tests/unit/core/test_data/pipes/controllers/sequence/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/controllers/sequence/pipe_sequence.py b/tests/unit/core/test_data/pipes/controllers/sequence/pipe_sequence.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/controllers/sequence/pipe_sequence.py
rename to tests/unit/core/test_data/pipes/controllers/sequence/pipe_sequence.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/__init__.py b/tests/unit/core/test_data/pipes/operators/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/__init__.py
rename to tests/unit/core/test_data/pipes/operators/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/compose/__init__.py b/tests/unit/core/test_data/pipes/operators/compose/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/compose/__init__.py
rename to tests/unit/core/test_data/pipes/operators/compose/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/compose/pipe_compose.py b/tests/unit/core/test_data/pipes/operators/compose/pipe_compose.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/compose/pipe_compose.py
rename to tests/unit/core/test_data/pipes/operators/compose/pipe_compose.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/extract/__init__.py b/tests/unit/core/test_data/pipes/operators/extract/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/extract/__init__.py
rename to tests/unit/core/test_data/pipes/operators/extract/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/extract/pipe_extract.py b/tests/unit/core/test_data/pipes/operators/extract/pipe_extract.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/extract/pipe_extract.py
rename to tests/unit/core/test_data/pipes/operators/extract/pipe_extract.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/func/__init__.py b/tests/unit/core/test_data/pipes/operators/func/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/func/__init__.py
rename to tests/unit/core/test_data/pipes/operators/func/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/func/pipe_func.py b/tests/unit/core/test_data/pipes/operators/func/pipe_func.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/func/pipe_func.py
rename to tests/unit/core/test_data/pipes/operators/func/pipe_func.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/img_gen/__init__.py b/tests/unit/core/test_data/pipes/operators/img_gen/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/img_gen/__init__.py
rename to tests/unit/core/test_data/pipes/operators/img_gen/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/img_gen/pipe_img_gen.py b/tests/unit/core/test_data/pipes/operators/img_gen/pipe_img_gen.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/img_gen/pipe_img_gen.py
rename to tests/unit/core/test_data/pipes/operators/img_gen/pipe_img_gen.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/llm/__init__.py b/tests/unit/core/test_data/pipes/operators/llm/__init__.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/llm/__init__.py
rename to tests/unit/core/test_data/pipes/operators/llm/__init__.py
diff --git a/tests/unit/pipelex/core/test_data/pipes/operators/llm/pipe_llm.py b/tests/unit/core/test_data/pipes/operators/llm/pipe_llm.py
similarity index 100%
rename from tests/unit/pipelex/core/test_data/pipes/operators/llm/pipe_llm.py
rename to tests/unit/core/test_data/pipes/operators/llm/pipe_llm.py
diff --git a/tests/unit/pipelex/kit/test_index_loader.py b/tests/unit/kit/test_index_loader.py
similarity index 100%
rename from tests/unit/pipelex/kit/test_index_loader.py
rename to tests/unit/kit/test_index_loader.py
diff --git a/tests/unit/pipelex/kit/test_markers.py b/tests/unit/kit/test_markers.py
similarity index 100%
rename from tests/unit/pipelex/kit/test_markers.py
rename to tests/unit/kit/test_markers.py
diff --git a/tests/unit/pipelex/kit/test_paths.py b/tests/unit/kit/test_paths.py
similarity index 100%
rename from tests/unit/pipelex/kit/test_paths.py
rename to tests/unit/kit/test_paths.py
diff --git a/tests/unit/pipelex/language/test_plx_factory.py b/tests/unit/language/test_plx_factory.py
similarity index 100%
rename from tests/unit/pipelex/language/test_plx_factory.py
rename to tests/unit/language/test_plx_factory.py
diff --git a/tests/unit/pipelex/pipe_controllers/batch/data.py b/tests/unit/pipe_controllers/batch/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_controllers/batch/data.py
rename to tests/unit/pipe_controllers/batch/data.py
diff --git a/tests/unit/pipelex/pipe_controllers/batch/test_pipe_batch_input.py b/tests/unit/pipe_controllers/batch/test_pipe_batch_input.py
similarity index 91%
rename from tests/unit/pipelex/pipe_controllers/batch/test_pipe_batch_input.py
rename to tests/unit/pipe_controllers/batch/test_pipe_batch_input.py
index 653cfe705..2bc0fab43 100644
--- a/tests/unit/pipelex/pipe_controllers/batch/test_pipe_batch_input.py
+++ b/tests/unit/pipe_controllers/batch/test_pipe_batch_input.py
@@ -3,7 +3,7 @@ import pytest
from pipelex import log
from pipelex.pipe_controllers.batch.pipe_batch_blueprint import PipeBatchBlueprint
from pipelex.pipe_controllers.batch.pipe_batch_factory import PipeBatchFactory
-from tests.unit.pipelex.pipe_controllers.batch.data import PipeBatchInputTestCases
+from tests.unit.pipe_controllers.batch.data import PipeBatchInputTestCases
class TestPipeBatchValidateInputs:
diff --git a/tests/unit/pipelex/pipe_controllers/condition/data.py b/tests/unit/pipe_controllers/condition/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_controllers/condition/data.py
rename to tests/unit/pipe_controllers/condition/data.py
diff --git a/tests/unit/pipelex/pipe_controllers/condition/test_pipe_condition_input.py b/tests/unit/pipe_controllers/condition/test_pipe_condition_input.py
similarity index 96%
rename from tests/unit/pipelex/pipe_controllers/condition/test_pipe_condition_input.py
rename to tests/unit/pipe_controllers/condition/test_pipe_condition_input.py
index 5f009620d..8968314d5 100644
--- a/tests/unit/pipelex/pipe_controllers/condition/test_pipe_condition_input.py
+++ b/tests/unit/pipe_controllers/condition/test_pipe_condition_input.py
@@ -7,7 +7,7 @@ from pipelex.core.pipe_errors import PipeDefinitionError
from pipelex.exceptions import StaticValidationError
from pipelex.pipe_controllers.condition.pipe_condition_blueprint import PipeConditionBlueprint
from pipelex.pipe_controllers.condition.pipe_condition_factory import PipeConditionFactory
-from tests.unit.pipelex.pipe_controllers.condition.data import PipeConditionInputTestCases
+from tests.unit.pipe_controllers.condition.data import PipeConditionInputTestCases
class TestPipeConditionValidateInputs:
diff --git a/tests/unit/pipelex/pipe_controllers/parallel/data.py b/tests/unit/pipe_controllers/parallel/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_controllers/parallel/data.py
rename to tests/unit/pipe_controllers/parallel/data.py
diff --git a/tests/unit/pipelex/pipe_controllers/parallel/test_pipe_parallel_input.py b/tests/unit/pipe_controllers/parallel/test_pipe_parallel_input.py
similarity index 96%
rename from tests/unit/pipelex/pipe_controllers/parallel/test_pipe_parallel_input.py
rename to tests/unit/pipe_controllers/parallel/test_pipe_parallel_input.py
index 1ee423b11..dd55c4085 100644
--- a/tests/unit/pipelex/pipe_controllers/parallel/test_pipe_parallel_input.py
+++ b/tests/unit/pipe_controllers/parallel/test_pipe_parallel_input.py
@@ -7,7 +7,7 @@ from pipelex.core.pipe_errors import PipeDefinitionError
from pipelex.exceptions import StaticValidationError
from pipelex.pipe_controllers.parallel.pipe_parallel_blueprint import PipeParallelBlueprint
from pipelex.pipe_controllers.parallel.pipe_parallel_factory import PipeParallelFactory
-from tests.unit.pipelex.pipe_controllers.parallel.data import PipeParallelInputTestCases
+from tests.unit.pipe_controllers.parallel.data import PipeParallelInputTestCases
class TestPipeParallelValidateInputs:
diff --git a/tests/unit/pipelex/pipe_controllers/sequence/data.py b/tests/unit/pipe_controllers/sequence/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_controllers/sequence/data.py
rename to tests/unit/pipe_controllers/sequence/data.py
diff --git a/tests/unit/pipelex/pipe_controllers/sequence/test_pipe_sequence_input.py b/tests/unit/pipe_controllers/sequence/test_pipe_sequence_input.py
similarity index 96%
rename from tests/unit/pipelex/pipe_controllers/sequence/test_pipe_sequence_input.py
rename to tests/unit/pipe_controllers/sequence/test_pipe_sequence_input.py
index 99e29ce00..2574fd191 100644
--- a/tests/unit/pipelex/pipe_controllers/sequence/test_pipe_sequence_input.py
+++ b/tests/unit/pipe_controllers/sequence/test_pipe_sequence_input.py
@@ -7,7 +7,7 @@ from pipelex.core.pipe_errors import PipeDefinitionError
from pipelex.exceptions import StaticValidationError
from pipelex.pipe_controllers.sequence.pipe_sequence_blueprint import PipeSequenceBlueprint
from pipelex.pipe_controllers.sequence.pipe_sequence_factory import PipeSequenceFactory
-from tests.unit.pipelex.pipe_controllers.sequence.data import PipeSequenceInputTestCases
+from tests.unit.pipe_controllers.sequence.data import PipeSequenceInputTestCases
class TestPipeSequenceValidateInputs:
diff --git a/tests/unit/pipelex/pipe_operators/pipe_compose/data.py b/tests/unit/pipe_operators/pipe_compose/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_operators/pipe_compose/data.py
rename to tests/unit/pipe_operators/pipe_compose/data.py
diff --git a/tests/unit/pipelex/pipe_operators/pipe_compose/test_pipe_compose_input.py b/tests/unit/pipe_operators/pipe_compose/test_pipe_compose_input.py
similarity index 95%
rename from tests/unit/pipelex/pipe_operators/pipe_compose/test_pipe_compose_input.py
rename to tests/unit/pipe_operators/pipe_compose/test_pipe_compose_input.py
index be758053a..89419f376 100644
--- a/tests/unit/pipelex/pipe_operators/pipe_compose/test_pipe_compose_input.py
+++ b/tests/unit/pipe_operators/pipe_compose/test_pipe_compose_input.py
@@ -3,7 +3,7 @@ import pytest
from pipelex import log
from pipelex.pipe_operators.compose.pipe_compose_blueprint import PipeComposeBlueprint
from pipelex.pipe_operators.compose.pipe_compose_factory import PipeComposeFactory
-from tests.unit.pipelex.pipe_operators.pipe_compose.data import PipeComposeInputTestCases
+from tests.unit.pipe_operators.pipe_compose.data import PipeComposeInputTestCases
class TestPipeComposeValidateInputs:
diff --git a/tests/unit/pipelex/pipe_operators/pipe_extract/data.py b/tests/unit/pipe_operators/pipe_extract/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_operators/pipe_extract/data.py
rename to tests/unit/pipe_operators/pipe_extract/data.py
diff --git a/tests/unit/pipelex/pipe_operators/pipe_extract/test_pipe_extract_input.py b/tests/unit/pipe_operators/pipe_extract/test_pipe_extract_input.py
similarity index 95%
rename from tests/unit/pipelex/pipe_operators/pipe_extract/test_pipe_extract_input.py
rename to tests/unit/pipe_operators/pipe_extract/test_pipe_extract_input.py
index 39540d5f7..f6ed2d000 100644
--- a/tests/unit/pipelex/pipe_operators/pipe_extract/test_pipe_extract_input.py
+++ b/tests/unit/pipe_operators/pipe_extract/test_pipe_extract_input.py
@@ -4,7 +4,7 @@ from pipelex import log
from pipelex.exceptions import StaticValidationError
from pipelex.pipe_operators.extract.pipe_extract_blueprint import PipeExtractBlueprint
from pipelex.pipe_operators.extract.pipe_extract_factory import PipeExtractFactory
-from tests.unit.pipelex.pipe_operators.pipe_extract.data import PipeExtractInputTestCases
+from tests.unit.pipe_operators.pipe_extract.data import PipeExtractInputTestCases
class TestPipeExtractValidateInputs:
diff --git a/tests/unit/pipelex/pipe_operators/pipe_func/data.py b/tests/unit/pipe_operators/pipe_func/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_operators/pipe_func/data.py
rename to tests/unit/pipe_operators/pipe_func/data.py
diff --git a/tests/unit/pipelex/pipe_operators/pipe_func/test_pipe_func_input.py b/tests/unit/pipe_operators/pipe_func/test_pipe_func_input.py
similarity index 96%
rename from tests/unit/pipelex/pipe_operators/pipe_func/test_pipe_func_input.py
rename to tests/unit/pipe_operators/pipe_func/test_pipe_func_input.py
index 199d0aa68..afe4f4c0c 100644
--- a/tests/unit/pipelex/pipe_operators/pipe_func/test_pipe_func_input.py
+++ b/tests/unit/pipe_operators/pipe_func/test_pipe_func_input.py
@@ -5,7 +5,7 @@ from pipelex.core.pipe_errors import PipeDefinitionError
from pipelex.pipe_operators.func.pipe_func_blueprint import PipeFuncBlueprint
from pipelex.pipe_operators.func.pipe_func_factory import PipeFuncFactory
from pipelex.system.registries.func_registry import func_registry
-from tests.unit.pipelex.pipe_operators.pipe_func.data import ERROR_TEST_FUNCTIONS, PipeFuncInputTestCases
+from tests.unit.pipe_operators.pipe_func.data import ERROR_TEST_FUNCTIONS, PipeFuncInputTestCases
@pytest.fixture(scope="class")
diff --git a/tests/unit/pipelex/pipe_operators/pipe_img_gen/data.py b/tests/unit/pipe_operators/pipe_img_gen/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_operators/pipe_img_gen/data.py
rename to tests/unit/pipe_operators/pipe_img_gen/data.py
diff --git a/tests/unit/pipelex/pipe_operators/pipe_img_gen/test_pipe_img_gen_input.py b/tests/unit/pipe_operators/pipe_img_gen/test_pipe_img_gen_input.py
similarity index 95%
rename from tests/unit/pipelex/pipe_operators/pipe_img_gen/test_pipe_img_gen_input.py
rename to tests/unit/pipe_operators/pipe_img_gen/test_pipe_img_gen_input.py
index 6ccd8da83..3492daf08 100644
--- a/tests/unit/pipelex/pipe_operators/pipe_img_gen/test_pipe_img_gen_input.py
+++ b/tests/unit/pipe_operators/pipe_img_gen/test_pipe_img_gen_input.py
@@ -5,7 +5,7 @@ from pipelex.core.pipe_errors import PipeDefinitionError
from pipelex.exceptions import StaticValidationError
from pipelex.pipe_operators.img_gen.pipe_img_gen_blueprint import PipeImgGenBlueprint
from pipelex.pipe_operators.img_gen.pipe_img_gen_factory import PipeImgGenFactory
-from tests.unit.pipelex.pipe_operators.pipe_img_gen.data import PipeImgGenInputTestCases
+from tests.unit.pipe_operators.pipe_img_gen.data import PipeImgGenInputTestCases
class TestPipeImgGenValidateInputs:
diff --git a/tests/unit/pipelex/pipe_operators/pipe_llm/data.py b/tests/unit/pipe_operators/pipe_llm/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_operators/pipe_llm/data.py
rename to tests/unit/pipe_operators/pipe_llm/data.py
diff --git a/tests/unit/pipelex/pipe_operators/pipe_llm/test_pipe_llm_input.py b/tests/unit/pipe_operators/pipe_llm/test_pipe_llm_input.py
similarity index 95%
rename from tests/unit/pipelex/pipe_operators/pipe_llm/test_pipe_llm_input.py
rename to tests/unit/pipe_operators/pipe_llm/test_pipe_llm_input.py
index 466dd9dbf..1522a85f9 100644
--- a/tests/unit/pipelex/pipe_operators/pipe_llm/test_pipe_llm_input.py
+++ b/tests/unit/pipe_operators/pipe_llm/test_pipe_llm_input.py
@@ -4,7 +4,7 @@ from pipelex import log
from pipelex.exceptions import StaticValidationError
from pipelex.pipe_operators.llm.pipe_llm_blueprint import PipeLLMBlueprint
from pipelex.pipe_operators.llm.pipe_llm_factory import PipeLLMFactory
-from tests.unit.pipelex.pipe_operators.pipe_llm.data import PipeLLMInputTestCases
+from tests.unit.pipe_operators.pipe_llm.data import PipeLLMInputTestCases
class TestPipeLLMValidateInputs:
diff --git a/tests/unit/pipelex/pipe_run/data.py b/tests/unit/pipe_run/data.py
similarity index 100%
rename from tests/unit/pipelex/pipe_run/data.py
rename to tests/unit/pipe_run/data.py
diff --git a/tests/unit/pipelex/pipe_run/test_pipe_run_params.py b/tests/unit/pipe_run/test_pipe_run_params.py
similarity index 99%
rename from tests/unit/pipelex/pipe_run/test_pipe_run_params.py
rename to tests/unit/pipe_run/test_pipe_run_params.py
index f3839a84e..a98658a77 100644
--- a/tests/unit/pipelex/pipe_run/test_pipe_run_params.py
+++ b/tests/unit/pipe_run/test_pipe_run_params.py
@@ -4,7 +4,7 @@ from pipelex.core.pipes.variable_multiplicity import VariableMultiplicity, Varia
from pipelex.pipe_run.pipe_run_params import (
output_multiplicity_to_apply,
)
-from tests.unit.pipelex.pipe_run.data import OUTPUT_MULTIPLICITY_TO_APPLY_TEST_CASES
+from tests.unit.pipe_run.data import OUTPUT_MULTIPLICITY_TO_APPLY_TEST_CASES
class TestOutputMultiplicityToApply:
diff --git a/tests/unit/pipelex/core/test_data/__init__.py b/tests/unit/pipelex/core/test_data/__init__.py
deleted file mode 100644
index 663094fea..000000000
--- a/tests/unit/pipelex/core/test_data/__init__.py
+++ /dev/null
@@ -1,48 +0,0 @@
-from typing import ClassVar
-
-from pipelex.core.bundles.pipelex_bundle_blueprint import PipelexBundleBlueprint
-from tests.unit.pipelex.core.test_data.complex.multi_feature import COMPLEX_TEST_CASES
-from tests.unit.pipelex.core.test_data.concepts.refining_concepts import REFINING_CONCEPT_TEST_CASES
-from tests.unit.pipelex.core.test_data.concepts.simple_concepts import SIMPLE_CONCEPT_TEST_CASES
-from tests.unit.pipelex.core.test_data.concepts.structured_concepts import STRUCTURED_CONCEPT_TEST_CASES
-from tests.unit.pipelex.core.test_data.domain.simple_domains import DOMAIN_TEST_CASES
-from tests.unit.pipelex.core.test_data.errors.invalid_plx import ERROR_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.controllers.batch.pipe_batch import PIPE_BATCH_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.controllers.condition.pipe_condition import PIPE_CONDITION_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.controllers.parallel.pipe_parallel import PIPE_PARALLEL_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.controllers.sequence.pipe_sequence import PIPE_SEQUENCE_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.operators.compose.pipe_compose import PIPE_COMPOSE_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.operators.extract.pipe_extract import PIPE_EXTRACT_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.operators.func.pipe_func import PIPE_FUNC_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.operators.img_gen.pipe_img_gen import PIPE_IMG_GEN_TEST_CASES
-from tests.unit.pipelex.core.test_data.pipes.operators.llm.pipe_llm import PIPE_LLM_TEST_CASES
-
-
-class InterpreterTestCases:
- """Test cases for PipelexInterpreter with PLX content and expected blueprints."""
-
- # Aggregate all valid test cases from organized modules
- VALID_TEST_CASES: ClassVar[list[tuple[str, str, PipelexBundleBlueprint]]] = [ # test_name,plx_content,blueprint
- # Domain tests
- *DOMAIN_TEST_CASES,
- # Concept tests
- *STRUCTURED_CONCEPT_TEST_CASES,
- *REFINING_CONCEPT_TEST_CASES,
- *SIMPLE_CONCEPT_TEST_CASES,
- # Pipe operator tests
- *PIPE_LLM_TEST_CASES,
- *PIPE_EXTRACT_TEST_CASES,
- *PIPE_FUNC_TEST_CASES,
- *PIPE_IMG_GEN_TEST_CASES,
- *PIPE_COMPOSE_TEST_CASES,
- # Pipe controller tests
- *PIPE_SEQUENCE_TEST_CASES,
- *PIPE_CONDITION_TEST_CASES,
- *PIPE_PARALLEL_TEST_CASES,
- *PIPE_BATCH_TEST_CASES,
- # Complex tests
- *COMPLEX_TEST_CASES,
- ]
-
- # Error test cases
- ERROR_TEST_CASES: ClassVar[list[tuple[str, str, type[Exception] | tuple[type[Exception], ...]]]] = ERROR_TEST_CASES
diff --git a/tests/unit/pipelex/tools/config/test_load_config.py b/tests/unit/tools/config/test_load_config.py
similarity index 100%
rename from tests/unit/pipelex/tools/config/test_load_config.py
rename to tests/unit/tools/config/test_load_config.py
diff --git a/tests/unit/pipelex/tools/misc/test_base_64_utils.py b/tests/unit/tools/misc/test_base_64_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_base_64_utils.py
rename to tests/unit/tools/misc/test_base_64_utils.py
diff --git a/tests/unit/pipelex/tools/misc/test_dict_utils.py b/tests/unit/tools/misc/test_dict_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_dict_utils.py
rename to tests/unit/tools/misc/test_dict_utils.py
diff --git a/tests/unit/pipelex/tools/misc/test_filetype_utils.py b/tests/unit/tools/misc/test_filetype_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_filetype_utils.py
rename to tests/unit/tools/misc/test_filetype_utils.py
diff --git a/tests/unit/pipelex/tools/misc/test_find_files_in_dir.py b/tests/unit/tools/misc/test_find_files_in_dir.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_find_files_in_dir.py
rename to tests/unit/tools/misc/test_find_files_in_dir.py
diff --git a/tests/unit/pipelex/tools/misc/test_markdown.py b/tests/unit/tools/misc/test_markdown.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_markdown.py
rename to tests/unit/tools/misc/test_markdown.py
diff --git a/tests/unit/pipelex/tools/misc/test_path_utils.py b/tests/unit/tools/misc/test_path_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_path_utils.py
rename to tests/unit/tools/misc/test_path_utils.py
diff --git a/tests/unit/pipelex/tools/misc/test_placeholder.py b/tests/unit/tools/misc/test_placeholder.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_placeholder.py
rename to tests/unit/tools/misc/test_placeholder.py
diff --git a/tests/unit/pipelex/tools/misc/test_pretty.py b/tests/unit/tools/misc/test_pretty.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_pretty.py
rename to tests/unit/tools/misc/test_pretty.py
diff --git a/tests/unit/pipelex/tools/misc/test_string_utils.py b/tests/unit/tools/misc/test_string_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_string_utils.py
rename to tests/unit/tools/misc/test_string_utils.py
diff --git a/tests/unit/pipelex/tools/misc/test_text.py b/tests/unit/tools/misc/test_text.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_text.py
rename to tests/unit/tools/misc/test_text.py
diff --git a/tests/unit/pipelex/tools/misc/test_toml_utils.py b/tests/unit/tools/misc/test_toml_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/misc/test_toml_utils.py
rename to tests/unit/tools/misc/test_toml_utils.py
diff --git a/tests/unit/pipelex/tools/secrets/test_secrets_utils.py b/tests/unit/tools/secrets/test_secrets_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/secrets/test_secrets_utils.py
rename to tests/unit/tools/secrets/test_secrets_utils.py
diff --git a/tests/unit/pipelex/tools/test_class_registry_utils.py b/tests/unit/tools/test_class_registry_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/test_class_registry_utils.py
rename to tests/unit/tools/test_class_registry_utils.py
diff --git a/tests/unit/pipelex/tools/test_environment.py b/tests/unit/tools/test_environment.py
similarity index 100%
rename from tests/unit/pipelex/tools/test_environment.py
rename to tests/unit/tools/test_environment.py
diff --git a/tests/unit/pipelex/tools/test_func_registry.py b/tests/unit/tools/test_func_registry.py
similarity index 100%
rename from tests/unit/pipelex/tools/test_func_registry.py
rename to tests/unit/tools/test_func_registry.py
diff --git a/tests/unit/pipelex/tools/test_func_registry_utils.py b/tests/unit/tools/test_func_registry_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/test_func_registry_utils.py
rename to tests/unit/tools/test_func_registry_utils.py
diff --git a/tests/unit/pipelex/tools/test_jinja2.py b/tests/unit/tools/test_jinja2.py
similarity index 100%
rename from tests/unit/pipelex/tools/test_jinja2.py
rename to tests/unit/tools/test_jinja2.py
diff --git a/tests/unit/pipelex/tools/test_testing.py b/tests/unit/tools/test_testing.py
similarity index 100%
rename from tests/unit/pipelex/tools/test_testing.py
rename to tests/unit/tools/test_testing.py
diff --git a/tests/unit/pipelex/tools/typing/test_convert_file_path_to_module_path.py b/tests/unit/tools/typing/test_convert_file_path_to_module_path.py
similarity index 100%
rename from tests/unit/pipelex/tools/typing/test_convert_file_path_to_module_path.py
rename to tests/unit/tools/typing/test_convert_file_path_to_module_path.py
diff --git a/tests/unit/pipelex/tools/typing/test_find_class_names_in_file.py b/tests/unit/tools/typing/test_find_class_names_in_file.py
similarity index 100%
rename from tests/unit/pipelex/tools/typing/test_find_class_names_in_file.py
rename to tests/unit/tools/typing/test_find_class_names_in_file.py
diff --git a/tests/unit/pipelex/tools/typing/test_find_classes_in_module.py b/tests/unit/tools/typing/test_find_classes_in_module.py
similarity index 100%
rename from tests/unit/pipelex/tools/typing/test_find_classes_in_module.py
rename to tests/unit/tools/typing/test_find_classes_in_module.py
diff --git a/tests/unit/pipelex/tools/typing/test_import_module_from_file.py b/tests/unit/tools/typing/test_import_module_from_file.py
similarity index 100%
rename from tests/unit/pipelex/tools/typing/test_import_module_from_file.py
rename to tests/unit/tools/typing/test_import_module_from_file.py
diff --git a/tests/unit/pipelex/tools/typing/test_import_module_from_file_if_has_classes.py b/tests/unit/tools/typing/test_import_module_from_file_if_has_classes.py
similarity index 100%
rename from tests/unit/pipelex/tools/typing/test_import_module_from_file_if_has_classes.py
rename to tests/unit/tools/typing/test_import_module_from_file_if_has_classes.py
diff --git a/tests/unit/pipelex/tools/typing/test_module_file_error.py b/tests/unit/tools/typing/test_module_file_error.py
similarity index 100%
rename from tests/unit/pipelex/tools/typing/test_module_file_error.py
rename to tests/unit/tools/typing/test_module_file_error.py
diff --git a/tests/unit/pipelex/tools/typing/test_pydantic_utils.py b/tests/unit/tools/typing/test_pydantic_utils.py
similarity index 100%
rename from tests/unit/pipelex/tools/typing/test_pydantic_utils.py
rename to tests/unit/tools/typing/test_pydantic_utils.py
diff --git a/tests/unit/pipelex/tools/typing/test_structure_printer.py b/tests/unit/tools/typing/test_structure_printer.py
similarity index 100%
rename from tests/unit/pipelex/tools/typing/test_structure_printer.py
rename to tests/unit/tools/typing/test_structure_printer.py