Created attachment 210378 [details] Shar file Add a new port devel/py-python-dbusmock. 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. WWW: https://pypi.org/project/python-dbusmock
A commit references this bug: Author: tcberner Date: Thu Jan 2 07:57:56 UTC 2020 New revision: 521800 URL: https://svnweb.freebsd.org/changeset/ports/521800 Log: [NEW PORT] devel/py-python-dbusmock: 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. WWW: https://pypi.org/project/python-dbusmock PR: 243029 Submitted by: Hiroki Tagato <tagattie@yandex.com> Changes: head/devel/Makefile head/devel/py-python-dbusmock/ head/devel/py-python-dbusmock/Makefile head/devel/py-python-dbusmock/distinfo head/devel/py-python-dbusmock/pkg-descr
Added. Thanks :)