Commit eb14b8a8 authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

python313Packages.swh-journal: disable some failing tests

parent fe905bbd
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitLab,
  setuptools,
@@ -45,6 +46,16 @@ buildPythonPackage rec {
    pytest-mock
  ];

  disabledTestPaths = [
    # AssertionError: assert {'author': {'email': b'', 'fullname': b'foo', 'name': b'foo'}, 'date': {'offset_bytes': b'+0200', 'timestamp': {'micro...': 1234567890}}, 'id': b'\x80Y\xdcN\x17\xfc\xd0\xe5\x1c\xa3\xbc\xd6\xb8\x0fEw\xd2\x81\xfd\x08', 'message': b'foo', ...} is None
    "swh/journal/tests/test_kafka_writer.py"
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    #Fatal Python error: Segmentation fault"
    "swh/journal/tests/test_client.py"
    "swh/journal/tests/test_pytest_plugin.py"
  ];

  meta = {
    description = "Persistent logger of changes to the archive, with publish-subscribe support";
    homepage = "https://gitlab.softwareheritage.org/swh/devel/swh-journal";