aboutsummaryrefslogtreecommitdiff
path: root/test/test_download.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2013-10-12 13:17:11 -0400
committerFilippo Valsorda <filippo.valsorda@gmail.com>2013-10-12 13:17:11 -0400
commitd3f46b9aa5727323182dd845030c9d781e1824fd (patch)
treede3beb03adfc988d562d6558e298874a526659d0 /test/test_download.py
parentf5e54a1fda6fcc4ef279e54ff6cf63f6eae71bb0 (diff)
downloadyoutube-dl-d3f46b9aa5727323182dd845030c9d781e1824fd.tar.xz
Add support for single-test tox runs
Use a sintax like tox test.test_download:TestDownload.test_NowVideo to run the specific test on all the tox environments (Python versions)
Diffstat (limited to 'test/test_download.py')
-rw-r--r--test/test_download.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_download.py b/test/test_download.py
index fdf59bb5c..68da4d984 100644
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -37,8 +37,8 @@ def _file_md5(fn):
with open(fn, 'rb') as f:
return hashlib.md5(f.read()).hexdigest()
-import helper # Set up remaining global configuration
-from helper import get_testcases, try_rm
+import test.helper as helper # Set up remaining global configuration
+from .helper import get_testcases, try_rm
defs = get_testcases()
with io.open(PARAMETERS_FILE, encoding='utf-8') as pf: