python-dbusmock 0.28.7-1 source package in Ubuntu
Changelog
python-dbusmock (0.28.7-1) unstable; urgency=medium * New upstream bug fix release: - blue5-obex template: Fix OBEX PullAll (thanks Jan Alexander Steffens) - power_profiles template: Fix Actions property type (thanks Jonas Ã…dahl) - README: Explain container tests and how to debug them * autopkgtest: Update policykit-1 dependency. Primarily depend on polkitd now. Keep the transitional policykit-1 as alternative to keep the package working on Debian 11. (Closes: #1025640) * Bump Standards-Version to 4.6.2. No changes necessary. -- Martin Pitt <email address hidden> Thu, 05 Jan 2023 14:57:52 +0100
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 | |
---|---|---|---|---|
Lunar | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-dbusmock_0.28.7-1.dsc | 2.2 KiB | 37c49ded02812951586bfe3df645c2ba4c6af6378ad0cfd8407bac289671e924 |
python-dbusmock_0.28.7.orig.tar.gz | 89.2 KiB | 0786977750dbcbde6e2553339a2e66d9a8d4453d5c848b945e8fd1badb736ffd |
python-dbusmock_0.28.7-1.debian.tar.xz | 6.8 KiB | 4f7ab31636fdb4bf000005b36d5fc27cc8b39a68061b2a02cbd2b1abac50ab0a |
Available diffs
- diff from 0.28.6-1 to 0.28.7-1 (3.4 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.