python-dbusmock 0.27.3-1 source package in Ubuntu
Changelog
python-dbusmock (0.27.3-1) unstable; urgency=medium * New upstream version: - Do not register standard session service directories, add API to enable selected services (thanks Benjamin Berg) - Log static method calls from templates (thanks Peter Hutterer) -- Martin Pitt <email address hidden> Sat, 02 Apr 2022 09:03:44 +0200
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.27.3-1.dsc | 2.2 KiB | e0f131a43f09b86047f1bda2b4d9fd42a1ece228c4141ea82730c5bdfc0a54a2 |
python-dbusmock_0.27.3.orig.tar.gz | 87.4 KiB | 24feaa524e0631854a7f0529ef757c1e4c542adef89cf04e1d4248bc512a006f |
python-dbusmock_0.27.3-1.debian.tar.xz | 6.0 KiB | f9942fdc7bd5f3c4cf2e6326496506868e70b4ce66f9b27ed111004f52492443 |
Available diffs
- diff from 0.26.1-2 to 0.27.3-1 (5.3 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.