# libtmux.pytest_plugin.ServerFactory

- **Module:** libtmux.pytest_plugin
- **Package:** libtmux
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/libtmux/blob/efdbb5637666b166358772ecc737b3807beab21e/src/libtmux/pytest_plugin.py#L328
- **Bases:** [`t.Protocol`](https://docs.python.org/3/library/typing.html#typing.Protocol)
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-pytest_plugin-serverfactory/

Callable factory for temporary :class:`~libtmux.Server` instances.

## Members

### Other members

- [`__call__`](/en/py/latest/reference/libtmux-pytest_plugin-serverfactory-__call__/) (method): Create a tracked :class:`~libtmux.Server`.
