diff options
-rw-r--r-- | dev-python/jeepney/jeepney-0.6.0.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/jeepney/jeepney-0.6.0.ebuild b/dev-python/jeepney/jeepney-0.6.0.ebuild index 8a13adf05647..42dd4172cf33 100644 --- a/dev-python/jeepney/jeepney-0.6.0.ebuild +++ b/dev-python/jeepney/jeepney-0.6.0.ebuild @@ -21,6 +21,7 @@ BDEPEND=" test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] dev-python/testpath[${PYTHON_USEDEP}] + sys-apps/dbus ) " @@ -34,6 +35,10 @@ src_prepare() { distutils-r1_src_prepare } +python_test() { + dbus-run-session pytest -vv -ra -l || die "tests failed with ${EPYTHON}" +} + python_install_all() { if use examples; then docompress -x "/usr/share/doc/${PF}/examples" |