mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-24 21:38:28 +00:00
Remove references to devscript tests (that's a different PR)
This commit is contained in:
parent
a6b2d27838
commit
262ff0817d
3
.github/workflows/coverage.yml
vendored
3
.github/workflows/coverage.yml
vendored
@ -40,8 +40,7 @@ jobs:
|
|||||||
|
|
||||||
coverage_tests = [
|
coverage_tests = [
|
||||||
('test/test_utils.py', 'yt_dlp.utils'),
|
('test/test_utils.py', 'yt_dlp.utils'),
|
||||||
('test/test_YoutubeDL.py', 'yt_dlp.YoutubeDL'),
|
('test/test_YoutubeDL.py', 'yt_dlp.YoutubeDL')
|
||||||
('test/devscripts', 'devscripts')
|
|
||||||
]
|
]
|
||||||
|
|
||||||
with concurrent.futures.ThreadPoolExecutor(max_workers=3) as executor:
|
with concurrent.futures.ThreadPoolExecutor(max_workers=3) as executor:
|
||||||
|
@ -36,16 +36,14 @@ def main():
|
|||||||
if not args:
|
if not args:
|
||||||
# Default to running all tests
|
# Default to running all tests
|
||||||
test_path = 'test'
|
test_path = 'test'
|
||||||
module_path = 'yt_dlp,devscripts'
|
module_path = 'yt_dlp'
|
||||||
elif len(args) == 1:
|
elif len(args) == 1:
|
||||||
test_path = args[0]
|
test_path = args[0]
|
||||||
# Try to guess the module path from the test path
|
# Try to guess the module path from the test path
|
||||||
if test_path.startswith('test/devscripts'):
|
if test_path.startswith('test/'):
|
||||||
module_path = 'devscripts'
|
|
||||||
elif test_path.startswith('test/'):
|
|
||||||
module_path = 'yt_dlp'
|
module_path = 'yt_dlp'
|
||||||
else:
|
else:
|
||||||
module_path = 'yt_dlp,devscripts'
|
module_path = 'yt_dlp'
|
||||||
else:
|
else:
|
||||||
test_path = args[0]
|
test_path = args[0]
|
||||||
module_path = args[1]
|
module_path = args[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user