From 90e50db2e3c38f523bb5195d295290b06e5cedb0 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sun, 3 May 2020 00:06:40 -0400 Subject: New upstream version 1.13.6 --- test/test_cache.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'test/test_cache.py') diff --git a/test/test_cache.py b/test/test_cache.py index 31ece7e..e19896e 100644 --- a/test/test_cache.py +++ b/test/test_cache.py @@ -7,14 +7,19 @@ # 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 -import tempfile + import time +import tempfile + +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from gallery_dl import config, util # noqa E402 -from gallery_dl import config, util dbpath = tempfile.mkstemp()[1] config.set(("cache",), "file", dbpath) -from gallery_dl import cache # noqa +from gallery_dl import cache # noqa E402 def tearDownModule(): -- cgit v1.2.3