python-dbusmock 0.28.0-1 source package in Ubuntu
Changelog
python-dbusmock (0.28.0-1) unstable; urgency=medium * New upstream version: - Drop unmaintained and broken accountsservice template - testcase: Throw an error when spawning a well-known name that exists (thanks Benjamin Berg) - mockobject: Allow sending signals with extra details (thanks Peter Hutterer) -- Martin Pitt <email address hidden> Sun, 19 Jun 2022 15:33:05 +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.28.0-1.dsc | 2.2 KiB | 5bfd39f83aad2833c577061358a5abce5f1f9ea97784a4a72db654b0e92917bc |
python-dbusmock_0.28.0.orig.tar.gz | 83.4 KiB | c63edeacec7796c4f379b2e17566d62afa404c048931ac9eba446470cec80ada |
python-dbusmock_0.28.0-1.debian.tar.xz | 6.2 KiB | cacda846aba8a88e3ca3c0bff79f27e665271863488d574b7449c68572933e11 |
Available diffs
- diff from 0.27.5-1 to 0.28.0-1 (8.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.