python-dbusmock 0.29.1-1 source package in Ubuntu
Changelog
python-dbusmock (0.29.1-1) unstable; urgency=medium * New upstream version 0.29.0: - Support loading templates from XDG_DATA_DIRS - iio-sensors-proxy: Throw proper D-Bus errors instead of Python Exception * New upstream version 0.29.1: - Test fixes (thanks Marco Trevisan) -- Martin Pitt <email address hidden> Thu, 27 Jul 2023 05:08:50 +0000
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-dbusmock_0.29.1-1.dsc | 2.2 KiB | d103b4aeff292f573fa715d840ce714cd5c44fae5a8a764f6945bdfcc2af78f2 |
python-dbusmock_0.29.1.orig.tar.gz | 90.4 KiB | b03590057c236d352c38973f4b71ae2c97b3a1cb1dc6f03278ce4072a3716a74 |
python-dbusmock_0.29.1-1.debian.tar.xz | 6.9 KiB | 0a84b5498b9765fed262cd28138db27297e3f94e35a80e90feb387a963ce1d77 |
Available diffs
- diff from 0.28.7-1 to 0.29.1-1 (5.1 KiB)
No changes file available.
Binary packages built by this source
- python3-dbusmock: mock D-Bus objects for tests
With python-dbusmock 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, ConsoleKit, 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.
.
Mock objects look like the real API (or at least the parts that you actually
need), but they do not actually do anything (or only some action that you
specify yourself). You can configure their state, behaviour and responses as
you like in your test, without making any assumptions about the real system
status.
.
You can use this with any programming language, as you can run the mocker as a
normal program. The actual setup of the mock (adding objects, methods,
properties, etc.) all happen via D-Bus methods on the
org.freedesktop.DBus. Mock interface. You just don't have the convenience
D-Bus launch API that way.