From 262ff0817dc03a86b223d77376d37252e127e319 Mon Sep 17 00:00:00 2001 From: Wilson Bilkovich Date: Wed, 12 Mar 2025 13:33:11 -0400 Subject: [PATCH] Remove references to devscript tests (that's a different PR) --- .github/workflows/coverage.yml | 3 +-- devscripts/run_coverage.py | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f03d3ea65b..cdb45e09e3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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: diff --git a/devscripts/run_coverage.py b/devscripts/run_coverage.py index 272c34d928..86abd59eb9 100755 --- a/devscripts/run_coverage.py +++ b/devscripts/run_coverage.py @@ -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]