1
0
Fork 0
mirror of synced 2025-07-04 04:17:29 +02:00
mat2/tests
jvoisin fa42f08f09 Disable webp tests for now
```
======================================================================
ERROR: test_all_parametred (tests.test_libmat2.TestCleaning.test_all_parametred) (case={'name': 'webp', 'parser': <class 'libmat2.images.WEBPParser'>, 'meta': {'Warning': '[minor] Improper EXIF header'}, 'expected_meta': {}})
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/jvoisin/mat2/libmat2/images.py", line 109, in __init__
    GdkPixbuf.Pixbuf.new_from_file(self.filename)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “./tests/data/clean.webp” (3)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/builds/jvoisin/mat2/tests/test_libmat2.py", line 557, in test_all_parametred
    p1 = case['parser'](target)
  File "/builds/jvoisin/mat2/libmat2/images.py", line 111, in __init__
    raise ValueError
ValueError
```

Pending on https://0xacab.org/georg/mat2-ci-images/-/issues/14
2025-04-03 15:53:45 +02:00
..
data Add webp support 2025-03-18 22:20:17 +01:00
__init__.py Improve the testsuite 2018-03-18 21:42:12 +01:00
fuzz.py Add a fuzzer based on atheris 2021-12-19 22:37:45 +01:00
test_climat2.py Add webp support 2025-03-18 22:20:17 +01:00
test_corrupted_files.py Provide a name for the loggers 2023-09-08 22:16:45 +02:00
test_deep_cleaning.py Add a test for nsid cleaning 2019-09-01 13:52:02 +02:00
test_libmat2.py Disable webp tests for now 2025-04-03 15:53:45 +02:00
test_lightweight_cleaning.py Add webp support 2025-03-18 22:20:17 +01:00
test_policy.py Refactor tests 2019-10-12 13:32:04 -07:00