pytest-agentic-fabric
Pytest fixtures for projects built on agentic-fabric.
Installation
Install the plugin alongside the test dependencies of the project under test:
python -m pip install pytest-agentic-fabric
Pytest discovers the agentic_fabric plugin automatically through its
pytest11 entry point. Verify that the optional --agentic-e2e switch is
available in pytest --help before relying on it in CI.
Fixtures:
agentic_runtime_available: importability predicate for optional runtimes.agentic_runtime_registry: isolated mutable registry for tests.agentic_runtime_modules: known runtime import module names.agentic_mock_runtime: installs fake runtime modules intosys.modules.agentic_fabric_mocker/fabric_mocker:FabricMockerhelper for mocking CrewAI, LangGraph, Strands, and agentic-fabric internals.mock_agentic_frameworks: installs fake modules for all optional runtimes.mock_crewai,mock_langgraph,mock_strands: installs fake modules for one optional runtime path.agentic_fabric_agent_config: minimal framework-neutral fabric agent config.simple_agent_config,simple_task_config: reusable agent and task config mappings.simple_fabric_agent_config,multi_agent_fabric_agent_config,fabric_agent_with_knowledge: reusable fabric agent config mappings.temp_fabric_dir: temporary framework-agnostic.fabricdirectory.agentic_workspace: temporary workspace with a discoverable.fabricpackage.
agentic_workspace serializes the current agentic_fabric_agent_config
fixture into packages/sample/.fabric/manifest.yaml plus matching
agents.yaml and tasks.yaml files. Override agentic_fabric_agent_config
in a test module or conftest.py to create a custom workspace while keeping
the discovery layout consistent.
Tests marked @pytest.mark.agentic_e2e or
@pytest.mark.agentic_runtime("crewai") are skipped unless
--agentic-e2e is passed.
FabricMocker exposes mock_crewai(), mock_langgraph(), mock_strands(),
mock_all_frameworks(), framework-specific patch helpers, and
patch_get_llm(), patch_discover_packages(),
patch_get_fabric_agent_config(), and patch_run_fabric_agent_auto() for
tests that need to isolate fabric orchestration from optional runtime imports.
Metadata
Release files for pytest-agentic-fabric 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytest_agentic_fabric-0.3.3.tar.gz | 11.6 kB | Without provenance | Details for pytest_agentic_fabric-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytest_agentic_fabric-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for pytest_agentic_fabric-0.3.3-py3-none-any.whl |
Total release size: 20.9 kB
Release files / pytest_agentic_fabric-0.3.3.tar.gz
| Download URL | pytest_agentic_fabric-0.3.3.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
995b1667ac0c00963193d52b6dd5012369de1bdc0d808721c7671d112e9f9f39
|
|
BLAKE2b-256 checksum How to use checksums |
9ae6712ce561af34ea561f53fead12f78c074c6cacbd167d7f0834ea23640c26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pytest_agentic_fabric-0.3.3-py3-none-any.whl
| Download URL | pytest_agentic_fabric-0.3.3-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3148ecd556c5eb5a8d4713fac394e50c770473d6361dffa6320edfb3736fe69c
|
|
BLAKE2b-256 checksum How to use checksums |
7b5d5cf2d6cd553f049b7dfb576bd4f5597cb668948806a49cc1c70b23f88047
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pytest-agentic-fabric 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.