mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-24 13:28:29 +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 = [
|
||||
('test/test_utils.py', 'yt_dlp.utils'),
|
||||
('test/test_YoutubeDL.py', 'yt_dlp.YoutubeDL'),
|
||||
('test/devscripts', 'devscripts')
|
||||
('test/test_YoutubeDL.py', 'yt_dlp.YoutubeDL')
|
||||
]
|
||||
|
||||
with concurrent.futures.ThreadPoolExecutor(max_workers=3) as executor:
|
||||
|
@ -36,16 +36,14 @@ def main():
|
||||
if not args:
|
||||
# Default to running all tests
|
||||
test_path = 'test'
|
||||
module_path = 'yt_dlp,devscripts'
|
||||
module_path = 'yt_dlp'
|
||||
elif len(args) == 1:
|
||||
test_path = args[0]
|
||||
# Try to guess the module path from the test path
|
||||
if test_path.startswith('test/devscripts'):
|
||||
module_path = 'devscripts'
|
||||
elif test_path.startswith('test/'):
|
||||
if test_path.startswith('test/'):
|
||||
module_path = 'yt_dlp'
|
||||
else:
|
||||
module_path = 'yt_dlp,devscripts'
|
||||
module_path = 'yt_dlp'
|
||||
else:
|
||||
test_path = args[0]
|
||||
module_path = args[1]
|
||||
|
Loading…
Reference in New Issue
Block a user