aboutsummaryrefslogtreecommitdiff
path: root/test/test_download.py
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2021-07-14 21:47:48 +0200
committergabrielgio <gabriel.giovanini@pm.me>2021-07-14 21:47:48 +0200
commit417fb93a9368057e85e4c8bbaabc2ae5aca123d3 (patch)
treec41889fa5f1d7835d933b4a937ffc43e07344e58 /test/test_download.py
parent4d43e402b2b4e27bbbbfe557216d95963a27af72 (diff)
downloadreddit-nextcloud-importer-417fb93a9368057e85e4c8bbaabc2ae5aca123d3.tar.gz
reddit-nextcloud-importer-417fb93a9368057e85e4c8bbaabc2ae5aca123d3.tar.bz2
reddit-nextcloud-importer-417fb93a9368057e85e4c8bbaabc2ae5aca123d3.zip
fix: Fix pathing
The module imports aren't working.
Diffstat (limited to 'test/test_download.py')
-rw-r--r--test/test_download.py4
1 files changed, 2 insertions, 2 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', [