mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-07 11:46:51 +08:00
* Add implementation + tests * Add comments' * Add warning * Update docs * Refactor logic * 3.7 fix attempt * Fix 3.7 take 2 * Return original video if the conversion fails * Use ffmprobe + restrict scope of exception * Fix for windows * Fix tests
15 lines
279 B
Python
15 lines
279 B
Python
import pathlib
|
|
|
|
import pytest
|
|
|
|
|
|
def pytest_configure(config):
|
|
config.addinivalue_line(
|
|
"markers", "flaky: mark test as flaky. Failure will not cause te"
|
|
)
|
|
|
|
|
|
@pytest.fixture
|
|
def test_file_dir():
|
|
return pathlib.Path(pathlib.Path(__file__).parent, "test_files")
|