nixpkgs/pkgs/development/python-modules/pygelf
Andrew Kvalheim 3c383ebcbb python3Packages.pygelf: update disabled tests
Works around:

    ==================================== ERRORS ====================================
    ________________ ERROR collecting tests/test_dynamic_fields.py _________________
    tests/test_dynamic_fields.py:23: in <module>
        GelfTlsHandler(host='localhost', port=12204, validate=True, ca_certs='tests/config/cert.pem', include_extra_fields=True),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    pygelf/handlers.py:126: in __init__
        self.ctx.load_verify_locations(cafile=ca_certs)
    E   FileNotFoundError: [Errno 2] No such file or directory
    _________________ ERROR collecting tests/test_static_fields.py _________________
    tests/test_static_fields.py:20: in <module>
        GelfTlsHandler(host='localhost', port=12204, validate=True, ca_certs='tests/config/cert.pem', **STATIC_FIELDS),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    pygelf/handlers.py:126: in __init__
        self.ctx.load_verify_locations(cafile=ca_certs)
    E   FileNotFoundError: [Errno 2] No such file or directory
    =========================== short test summary info ============================
    ERROR tests/test_dynamic_fields.py - FileNotFoundError: [Errno 2] No such file or directory
    ERROR tests/test_static_fields.py - FileNotFoundError: [Errno 2] No such file or directory
    !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
    ============================== 2 errors in 0.24s ===============================

Re #431074
2025-08-27 19:20:36 -07:00
..
default.nix python3Packages.pygelf: update disabled tests 2025-08-27 19:20:36 -07:00