run tests without using 'nose'
run_tests.sh -> run_tests.py
This commit is contained in:
@@ -20,6 +20,7 @@ from gallery_dl import config, util # noqa E402
|
||||
dbpath = tempfile.mkstemp()[1]
|
||||
config.set(("cache",), "file", dbpath)
|
||||
from gallery_dl import cache # noqa E402
|
||||
cache._init()
|
||||
|
||||
|
||||
# def tearDownModule():
|
||||
|
||||
Reference in New Issue
Block a user