[deviantart] use proper exponential backoff on API errors

... and use separate API credentials for unit tests.
This commit is contained in:
Mike Fährmann
2018-03-15 15:53:16 +01:00
parent 723cc66bb1
commit 557cb94f81
3 changed files with 21 additions and 15 deletions

View File

@@ -36,6 +36,9 @@ class TestExtractors(unittest.TestCase):
config.set(("extractor", "password"), name)
config.set(("extractor", "nijie", "username"), email)
config.set(("extractor", "seiga", "username"), email)
config.set(("extractor", "deviantart", "client-id"), "7777")
config.set(("extractor", "deviantart", "client-secret"),
"ff14994c744d9208e5caeec7aab4a026")
config.set(("extractor", "tumblr", "api-key"),
"0cXoHfIqVzMQcc3HESZSNsVlulGxEXGDTTZCDrRrjaa0jmuTc6")