run tests without using 'nose'

run_tests.sh -> run_tests.py
This commit is contained in:
Mike Fährmann
2021-10-13 03:10:55 +02:00
parent 918fc9974d
commit f2d6b3e6b4
6 changed files with 61 additions and 34 deletions

View File

@@ -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():