aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_download.py4
-rw-r--r--test/test_uploader.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test_download.py b/test/test_download.py
index 9bafc1c..a5c9386 100644
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -2,7 +2,7 @@ import os
import pytest
-from src.downloader import SourceType, Downloader
+from importer.downloader import SourceType, Downloader
reddit_env = pytest.mark.skipif(
os.environ.get('CLIENT_ID', '') == '' or
@@ -16,7 +16,7 @@ reddit_env = pytest.mark.skipif(
@pytest.fixture
def mock_ydl_download(mocker):
# this function is responsible for downloading the file
- return mocker.patch('downloader.youtube_dl.YoutubeDL.process_info')
+ return mocker.patch('importer.downloader.youtube_dl.YoutubeDL.process_info')
@pytest.mark.parametrize('url,source_type', [
diff --git a/test/test_uploader.py b/test/test_uploader.py
index bcdf04b..7fe2f44 100644
--- a/test/test_uploader.py
+++ b/test/test_uploader.py
@@ -1,6 +1,6 @@
import pytest
-from uploader import create_folders
+from importer.uploader import create_folders
@pytest.fixture