From a81f69280faed88a1d6ccb368a3949685b01f8a3 Mon Sep 17 00:00:00 2001 From: DARKZOUL5 Date: Wed, 18 Mar 2026 19:59:15 +0200 Subject: [PATCH] move import statements in integration test to top --- tests/integration_full_workflow_test.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/integration_full_workflow_test.py b/tests/integration_full_workflow_test.py index 2561a89..bd42c3f 100644 --- a/tests/integration_full_workflow_test.py +++ b/tests/integration_full_workflow_test.py @@ -11,17 +11,14 @@ import sys import shutil import time from pathlib import Path - +from src.downloader import PlaylistDownloader +from tests.dummy_config import DummyConfig # Make imports robust when running the script directly from different working directories. # Ensure the repository root is on sys.path so the script can import `src`. REPO_ROOT = Path(__file__).resolve().parents[1] if str(REPO_ROOT) not in sys.path: sys.path.insert(0, str(REPO_ROOT)) -#import from src and tests -from src.downloader import PlaylistDownloader -from tests.dummy_config import DummyConfig - if not os.getenv("INTEGRATION_TEST"): print("Skipping full integration test (set INTEGRATION_TEST=1 to enable)") sys.exit(0)