.. meta::
   :description: diwire pytest plugin integration example.

Pytest plugin
=============

What you'll learn
-----------------

- Enable ``diwire.integrations.pytest_plugin`` for ``Injected[T]`` test parameters.

Run locally
-----------

.. code-block:: bash

   uv run python examples/ex_14_pytest_plugin/01_pytest_plugin.py

Example
-------

.. literalinclude:: ../../../examples/ex_14_pytest_plugin/01_pytest_plugin.py
   :language: python
   :class: diwire-example

