diff options
| author | 2020-05-03 00:06:40 -0400 | |
|---|---|---|
| committer | 2020-05-03 00:06:40 -0400 | |
| commit | 90e50db2e3c38f523bb5195d295290b06e5cedb0 (patch) | |
| tree | 4759dc0faea79f83fa5074e2d0bd82b18a9caaea /test/test_cookies.py | |
| parent | d5b96ce44b7809f5ae01e3e9d70a1d58fe21ccf5 (diff) | |
New upstream version 1.13.6upstream/1.13.6
Diffstat (limited to 'test/test_cookies.py')
| -rw-r--r-- | test/test_cookies.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_cookies.py b/test/test_cookies.py index c39a5e6..f691980 100644 --- a/test/test_cookies.py +++ b/test/test_cookies.py @@ -7,6 +7,8 @@ # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. +import os +import sys import unittest from unittest import mock @@ -14,8 +16,8 @@ import logging import tempfile from os.path import join -import gallery_dl.config as config -import gallery_dl.extractor as extractor +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from gallery_dl import config, extractor # noqa E402 class TestCookiejar(unittest.TestCase): |
