BSD Ports

devel/py-python-dbusmock 0.34.3 DragonFly

Mock D-Bus objects for tests

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL3+
Categories
devel, python
Package size
119.6 KiB, 782.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/py-python-dbusmock0.34.3
FreeBSDdevel/py-python-dbusmock0.38.1
MidnightBSDdevel/py-python-dbusmock0.38.1

Install

Binary package:

pkg install py311-python-dbusmock

From DPorts:

cd /usr/dports/devel/py-python-dbusmock && make install clean

Dependencies

Run dependencies 5

No port depends on this one.