python-dbusmock 0.18.3-1 source package in Ubuntu
Changelog
python-dbusmock (0.18.3-1) unstable; urgency=medium * New upstream version 0.18.3 * Bump Standards-Version to 4.4.0. No changes necessary. -- Martin Pitt <email address hidden> Sun, 08 Sep 2019 21:05:00 +0000
Upload details
- Uploaded by:
- Debian Python Modules Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Modules 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.18.3-1.dsc | 2.4 KiB | 49e3345c3f8259274ac21365bd091774107ef986886b507b7e40c9e4caaf3e46 |
python-dbusmock_0.18.3.orig.tar.gz | 70.4 KiB | 994a178268b6d74aeb158c0f155cd141e9a0cfae14226a764cd022c4949fe242 |
python-dbusmock_0.18.3-1.debian.tar.xz | 4.5 KiB | cf6bbbb8188d3bc2fef6bb0e09bfe9de4c8fdac36b3ccda6b083d77661be3129 |
Available diffs
- diff from 0.18.2-1 to 0.18.3-1 (6.5 KiB)
No changes file available.
Binary packages built by this source
- python-dbusmock: No summary available for python-dbusmock in ubuntu focal.
No description available for python-dbusmock in ubuntu focal.
- 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.