python3Packages.dbus-next: add missing preCheck/postCheck hooks (#334164)

This commit is contained in:
Sandro
2024-09-03 22:25:37 +02:00
committed by GitHub
@@ -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; {