Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

python-dbusmock 0.18.3 Python library for mock D-Bus objects

python-dbusmock allows for the easy creation of 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.