mirror of
https://github.com/facefusion/facefusion.git
synced 2026-06-02 10:51:39 +02:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user