mirror of
https://github.com/facefusion/facefusion.git
synced 2026-05-15 11:17:58 +02:00
18 lines
441 B
Python
18 lines
441 B
Python
import ctypes
|
|
|
|
import pytest
|
|
|
|
from facefusion import state_manager
|
|
from facefusion.libraries import datachannel as datachannel_module
|
|
|
|
|
|
@pytest.fixture(scope = 'module', autouse = True)
|
|
def before_all() -> None:
|
|
state_manager.init_item('download_providers', [ 'github', 'huggingface' ])
|
|
|
|
datachannel_module.pre_check()
|
|
|
|
|
|
def test_create_static_library() -> None:
|
|
assert isinstance(datachannel_module.create_static_library(), ctypes.CDLL)
|