Remove references to devscript tests (that's a different PR)

pull/12565/head
Wilson Bilkovich 4 weeks ago
parent a6b2d27838
commit 262ff0817d

@ -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…
Cancel
Save