Unverified Commit bb9591b7 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

python3Packages.dbus-next: add missing preCheck/postCheck hooks

parent ad91a23e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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; {