mirror of
https://github.com/facefusion/facefusion.git
synced 2026-06-02 19:01:35 +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(48000, 2)
|
||||
assert create(0, 0) is None
|
||||
|
||||
with patch('facefusion.codecs.opus_encoder.opus_module.create_static_library', return_value = None):
|
||||
assert create(48000, 2) is None
|
||||
|
||||
|
||||
def test_encode() -> None:
|
||||
|
||||
Reference in New Issue
Block a user