python-dbusmock_0.17.1-1_all.deb


Advertisement

Description

python-dbusmock - mock D-Bus objects for tests (Python 2)

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe i386
Package filename python-dbusmock_0.17.1-1_all.deb
Package name python-dbusmock
Package version 0.17.1
Package release 1
Package architecture all
Package type deb
Category universe/python
Homepage https://github.com/martinpitt/python-dbusmock/
License -
Maintainer Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Download size 54.96 KB
Installed size 349.00 KB
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.

Alternatives

Package Version Architecture Repository
python-dbusmock_0.17.1-1_all.deb 0.17.1 all Ubuntu Universe
python-dbusmock - - -

Requires

Name Value
dbus -
gir1.2-glib-2.0 >= 1.32
python-dbus -
python-gi -
python:any >= 2.7.5-5~
python:any << 2.8

Download

Type URL
Mirror archive.ubuntu.com
Binary Package python-dbusmock_0.17.1-1_all.deb
Source Package python-dbusmock

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-dbusmock deb package:
    # sudo apt-get install python-dbusmock

Files

Path
/usr/lib/python2.7/dist-packages/dbusmock/__init__.py
/usr/lib/python2.7/dist-packages/dbusmock/__main__.py
/usr/lib/python2.7/dist-packages/dbusmock/mockobject.py
/usr/lib/python2.7/dist-packages/dbusmock/testcase.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/__init__.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/bluez4.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/bluez5-obex.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/bluez5.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/gnome_screensaver.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/logind.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/networkmanager.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/notification_daemon.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/ofono.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/polkitd.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/timedated.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/upower.py
/usr/lib/python2.7/dist-packages/dbusmock/templates/urfkill.py
/usr/lib/python2.7/dist-packages/python_dbusmock-0.17.1.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/python_dbusmock-0.17.1.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/python_dbusmock-0.17.1.egg-info/top_level.txt
/usr/share/doc/python-dbusmock/README.rst.gz
/usr/share/doc/python-dbusmock/changelog.Debian.gz
/usr/share/doc/python-dbusmock/copyright
/usr/share/doc/python-dbusmock/examples/test_api.py
/usr/share/doc/python-dbusmock/examples/test_bluez4.py
/usr/share/doc/python-dbusmock/examples/test_bluez5.py
/usr/share/doc/python-dbusmock/examples/test_cli.py
/usr/share/doc/python-dbusmock/examples/test_code.py
/usr/share/doc/python-dbusmock/examples/test_consolekit.py
/usr/share/doc/python-dbusmock/examples/test_gnome_screensaver.py
/usr/share/doc/python-dbusmock/examples/test_logind.py
/usr/share/doc/python-dbusmock/examples/test_networkmanager.py
/usr/share/doc/python-dbusmock/examples/test_notification_daemon.py
/usr/share/doc/python-dbusmock/examples/test_ofono.py
/usr/share/doc/python-dbusmock/examples/test_polkitd.py
/usr/share/doc/python-dbusmock/examples/test_timedated.py
/usr/share/doc/python-dbusmock/examples/test_upower.py
/usr/share/doc/python-dbusmock/examples/test_urfkill.py

Changelog

2018-02-22 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.17.1-1) unstable; urgency=medium
* New upstream release.
* debian/control: Move Vcs-Browser to https://
* Bump Standards-Version to 4.1.3
2017-11-07 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.17-1) unstable; urgency=medium
* New upstream release.
* Remove dbus-x11 dependency.  (Closes: #836053)
* Bump Standards-Version to 4.1.1. (No changes necessary)
2017-06-19 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.16.9-1) unstable; urgency=medium
* New upstream bug fix release.
2017-06-12 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.16.8-1) unstable; urgency=medium
* New upstream release:
- bluez5 template tests: Fix failure of test_no_adapters with BlueZ 5.45.
(LP: #1696480)
2016-09-12 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.16.7-1) unstable; urgency=medium
* New upstream bug fix release to fix bluez5 test failure with current
bluez.
2016-06-19 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.16.6-1) unstable; urgency=medium
* New upstream release.
2016-06-07 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.16.4-1) unstable; urgency=medium
* New upstream release.
* Bump Standards-Version to 3.9.8 (no changes necessary).
2015-12-14 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.16.3-1) unstable; urgency=medium
* New upstream release.
* Update obsolete Homepage: field.
2015-12-09 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.16.2-1) unstable; urgency=medium
* New upstream release.
2015-10-22 - Martin Pitt <mpitt@debian.org>
python-dbusmock (0.16.1-1) unstable; urgency=medium
* New upstream release.

See Also

Package Description
python-dcmstack_0.6.2+git33-gb43919a.1-1_all.deb DICOM to Nifti conversion
python-dcos_0.2.0-2_all.deb Datacenter Operating System (DCOS) CLI - Python 2.7
python-ddt-doc_1.1.0-2_all.deb Data-Driven/Decorated Tests - doc
python-ddt_1.1.0-2_all.deb Data-Driven/Decorated Tests - Python 2.x
python-deap_1.0.2.post2-5_all.deb Distributed Evolutionary Algorithms in Python
python-debconf_1.5.66_all.deb interact with debconf from Python 2
python-debian_0.1.32_all.deb Python modules to work with Debian-related data formats
python-debianbts_2.7.2_all.deb Python interface to Debian's Bug Tracking System
python-debiancontributors_0.7.7-1_all.deb Manage submissions to contributors.debian.org
python-defer_1.0.6-2build1_all.deb Small framework for asynchronous programming (Python 2)
python-deltarpm_3.6+dfsg-1build6_i386.deb Python bindings for deltarpm
python-demgengeo_1.2-1build5_i386.deb DEMGenGeo is a library for creating geometry files
python-demjson_2.2.4-2_all.deb encoder, decoder, and lint/validator for JSON in Python (python2)
python-dendropy_4.3.0+dfsg-1_all.deb DendroPy Phylogenetic Computing Library (Python 2)
python-derpconf_0.8.2-1_all.deb Python module to abstract loading configuration files for your app
Advertisement
Advertisement