Files
facefusion/tests/test_translator.py
henryruhs 423fee9d7f feat: add API process functionality
This commit adds comprehensive API process functionality including:
- Remote streaming support
- Session management and context handling
- Media type support (video/audio/image)
- Asset management and path isolation
- Workflow refactoring and optimization
- Security improvements and state violation handling
- Gallery and image resolution features
- Audio support
- Analysis tools
- Version guard

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-20 14:35:07 +01:00

15 lines
402 B
Python

from facefusion import translator
from facefusion.locals import LOCALS
def test_load() -> None:
translator.load(LOCALS, __name__)
assert __name__ in translator.LOCAL_POOL_SET
def test_get() -> None:
assert translator.get('conda_not_activated') == 'conda is not activated'
assert translator.get('help.skip_conda') == 'skip the conda environment check'
assert translator.get('invalid') is None