python-dbusmock 0.32.1-1 source package in Ubuntu
Changelog
python-dbusmock (0.32.1-1) unstable; urgency=medium * New upstream release: - ModemManager: Add initial mock (thanks Guido Günther) - bluez5: Add advertising API (thanks Frederik Leonhardt) - Fix loading of libglib on macOS (thanks peturingi) * Bump Standards-Version to 4.7.0. No changes necessary. -- Martin Pitt <email address hidden> Sun, 14 Jul 2024 09:20:33 +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 | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-dbusmock_0.32.1-1.dsc | 2.3 KiB | 46af43c7520e629fb2d3cd608b98de6255d641736420b74dafe75a15f954caca |
python-dbusmock_0.32.1.orig.tar.gz | 101.8 KiB | f02c34493d420b3cf2d8d341b79a60841593b7b7615adc3ece17ff86f8275924 |
python-dbusmock_0.32.1-1.debian.tar.xz | 7.7 KiB | 13bf24f5d11706d0fb4292877883da0f514cca515454bd301be1e7c83ffe68d2 |
Available diffs
- diff from 0.31.1-1 to 0.32.1-1 (11.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.