cleanup decoders tests (#1122)

* cleanup mostly decoders tests, also a bit encoders

* cleanup mostly decoders tests, also a bit encoders
This commit is contained in:
Henry Ruhs
2026-05-19 12:57:57 +02:00
committed by GitHub
parent fbacb24fcc
commit 927857d70d
6 changed files with 29 additions and 26 deletions
+3 -1
View File
@@ -24,7 +24,9 @@ def before_all() -> None:
def test_create() -> None:
assert create((320, 240), 1000, 8, 16)
assert create((0, 0), 0, 0, 0) is None
with patch('facefusion.codecs.vpx_encoder.vpx_module.create_static_library', return_value = None):
assert create((320, 240), 1000, 8, 16) is None
def test_encode() -> None: