1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-19 06:28:52 +00:00

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

This commit is contained in:
Wilson Bilkovich
2025-03-12 13:33:11 -04:00
parent a6b2d27838
commit 262ff0817d
2 changed files with 4 additions and 7 deletions

View File

@@ -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]