FreeBSD.software
Home/devel/py311-python-dbusmock

py311-python-dbusmock

0.37.2devel

Mock D-Bus objects for tests

With this program/Python library you can easily create mock objects on D-Bus. This is useful for writing tests for software which talks to D-Bus services such as upower, systemd, logind, gnome-session or others, and it is hard (or impossible without root privileges) to set the state of the real services to what you expect in your tests.

$pkg install py311-python-dbusmock
pypi.org/project/python-dbusmock
Origin
devel/py-python-dbusmock
Size
765KiB
License
LGPL3+
Maintainer
tagattie@FreeBSD.org
Dependencies
5 packages
Required by
0 packages

Dependencies (5)