python-dbusmock 0.26.1-2 source package in Ubuntu


python-dbusmock (0.26.1-2) unstable; urgency=medium

  * debian/ Update for README rst → md change
    (Closes: #1006465)

 -- Martin Pitt <email address hidden>  Wed, 09 Mar 2022 13:03:48 +0100

Upload details

Uploaded by:
Debian Python Team
Uploaded to:
Original maintainer:
Debian Python Team
Medium Urgency

See full publishing history Publishing

Series Pocket Published Component Section


Jammy: [FULLYBUILT] amd64


File Size SHA-256 Checksum
python-dbusmock_0.26.1-2.dsc 2.2 KiB caf13ac98af2f2c7cd07107e0a091157c38b31786736e15922e8cb9ef9487d5d
python-dbusmock_0.26.1.orig.tar.gz 85.7 KiB 0e95ef6ec1e6b58aeb0e08839a76972debea94184570f09e29e5f12551399e55
python-dbusmock_0.26.1-2.debian.tar.xz 5.9 KiB 3dcfca9f435ad986104da6837114fb4151a1a99086faea0ffb412e285915dcee

Available diffs

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
 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.