Skip to main content

D-BUS notifications for pytest results.

Project description

A py.test plugin that displays test results using D-BUS notifications.

This plugins requires the dbus module.

Using in virtualenv

As of 14 feb 2014, you cannot install python-dbus with pip/easy_install.

You have two options:

  • install python-dbus in your virtualenv by downloading and building it

  • install python-dbus using your system package (like apt-get install python-dbus).

In the latter case if your virtualenv does not use system packages (that’s the default option), your virtualenv sitll hasn’t dbus module available. Just copy it from system packages:

# From virtualenv root folder
$ cp /usr/lib/pyshared/python2.7/_dbus_bindings.so lib/python2.7/site-packages/
$ cp -r cp -r /usr/share/pyshared/dbus lib/python2.7/site-packages/dbus
$ python
Python 2.7.5+ (default, Sep 19 2013, 13:48:49)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import dbus
>>>

Changelog

1.0.0 (2014-02-14)

  • initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-dbus-notification-1.0.0.zip (6.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page