python3Packages.dbus-next: add missing preCheck/postCheck hooks
This commit is contained in:
@@ -37,9 +37,11 @@ buildPythonPackage rec {
|
||||
# test_tcp_connection_with_forwarding fails due to dbus
|
||||
# creating unix socket anyway on v1.14.4
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf \
|
||||
${python.interpreter} -m pytest -sv --cov=dbus_next \
|
||||
-k "not test_peer_interface and not test_tcp_connection_with_forwarding"
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user