fix some smaller stuff

- remove support for old windows config paths
- catch exception if cache-database can't be opened
- fix username/password settings for unit tests
- rename variable 'max_tries' to 'retries'
This commit is contained in:
Mike Fährmann
2017-03-27 13:22:02 +02:00
parent e4b3077168
commit e3212dd98f
4 changed files with 6 additions and 8 deletions

View File

@@ -18,8 +18,8 @@ class TestExtractors(unittest.TestCase):
name = "gallerydl"
email = "gallerydl@openaliasbox.org"
config.set(("cache", "file"), ":memory:")
config.set(("username",), name)
config.set(("password",), name)
config.set(("extractor", "username"), name)
config.set(("extractor", "password"), name)
config.set(("extractor", "nijie", "username"), email)
config.set(("extractor", "seiga", "username"), email)