mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-07 07:15:00 +01: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:
parent
f5e54a1fda
commit
d3f46b9aa5
9 changed files with 13 additions and 10 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue