aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_results.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_results.py')
-rw-r--r--test/test_results.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test_results.py b/test/test_results.py
index bfed2ca..046efc5 100644
--- a/test/test_results.py
+++ b/test/test_results.py
@@ -9,12 +9,15 @@
import os
import sys
+import unittest
+
import re
import json
import hashlib
import datetime
-import unittest
-from gallery_dl import extractor, util, job, config, exception
+
+sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+from gallery_dl import extractor, util, job, config, exception # noqa E402
# these don't work on Travis CI