diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2013-10-12 13:17:11 -0400 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2013-10-12 13:17:11 -0400 |
commit | d3f46b9aa5727323182dd845030c9d781e1824fd (patch) | |
tree | de3beb03adfc988d562d6558e298874a526659d0 /test/test_youtube_subtitles.py | |
parent | f5e54a1fda6fcc4ef279e54ff6cf63f6eae71bb0 (diff) |
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_youtube_subtitles.py')
-rw-r--r-- | test/test_youtube_subtitles.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_youtube_subtitles.py b/test/test_youtube_subtitles.py index f9b0c1ad0..07850385e 100644 --- a/test/test_youtube_subtitles.py +++ b/test/test_youtube_subtitles.py @@ -10,7 +10,7 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from youtube_dl.extractor import YoutubeIE from youtube_dl.utils import * -from helper import FakeYDL +from .helper import FakeYDL md5 = lambda s: hashlib.md5(s.encode('utf-8')).hexdigest() |