mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-06-30 11:02:54 -05:00
Add support for single-test tox runs
Use a sintax like tox test.test_download:TestDownload.test_NowVideo to run the specific test on all the tox environments (Python versions)
This commit is contained in:
@ -37,8 +37,8 @@ def _file_md5(fn):
|
||||
with open(fn, 'rb') as f:
|
||||
return hashlib.md5(f.read()).hexdigest()
|
||||
|
||||
import helper # Set up remaining global configuration
|
||||
from helper import get_testcases, try_rm
|
||||
import test.helper as helper # Set up remaining global configuration
|
||||
from .helper import get_testcases, try_rm
|
||||
defs = get_testcases()
|
||||
|
||||
with io.open(PARAMETERS_FILE, encoding='utf-8') as pf:
|
||||
|
Reference in New Issue
Block a user