diff options
Diffstat (limited to 'test/test_oauth.py')
| -rw-r--r-- | test/test_oauth.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test_oauth.py b/test/test_oauth.py index 2ce5b43..58d4088 100644 --- a/test/test_oauth.py +++ b/test/test_oauth.py @@ -1,15 +1,18 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright 2018 Mike Fährmann +# Copyright 2018-2020 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # 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 -from gallery_dl import oauth, text +sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from gallery_dl import oauth, text # noqa E402 TESTSERVER = "http://term.ie/oauth/example" CONSUMER_KEY = "key" |
