python-dbusmock 0.30.2-2 source package in Ubuntu

Changelog

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

  * autopkgtest: Fix test invocation.
    Python 3.12's unittest exits with code 5 if all tests are skipped, which
    is the case for some test files. Run all tests in a single invocation to
    avoid that. (Closes: #1061825)

 -- Martin Pitt <email address hidden>  Tue, 30 Jan 2024 06:54:12 +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 Pocket Published Component Section

Builds

Noble: [FULLYBUILT] amd64

Downloads

File Size SHA-256 Checksum
python-dbusmock_0.30.2-2.dsc 2.3 KiB f931e5eccc182c62b7a2584bdb247042c1cee6d94d7d97bfc188d5840f20c0a2
python-dbusmock_0.30.2.orig.tar.gz 95.9 KiB 1d7b3794af7b280942f7f6cda4d8bb5d17d8c7216000825cf8b43b6af8792d7d
python-dbusmock_0.30.2-2.debian.tar.xz 7.4 KiB 53b2fc32dcd8a1e7fd4e9213754df9de38dab56d767d3dab4ce6aa46721bb929

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