aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test_download.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-03-17 14:30:13 +0100
committerPhilipp Hagemeister <[email protected]>2014-03-17 14:30:13 +0100
commitff14fc496401b3318339e108f3db2825622c44c3 (patch)
tree15e8ab1364183696ee2ca93ac4467b3e0c12de34 /test/test_download.py
parente125c215318d6bac1e96b0177ccd62660b16884c (diff)
downloadyoutube-dl-ff14fc496401b3318339e108f3db2825622c44c3.tar.gz
youtube-dl-ff14fc496401b3318339e108f3db2825622c44c3.zip
[test] Rename get_testcases to gettestcases
Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
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 ca8c82f71..8fccdaf9e 100644
--- a/test/test_download.py
+++ b/test/test_download.py
@@ -8,7 +8,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from test.helper import (
get_params,
- get_testcases,
+ gettestcases,
try_rm,
md5,
report_warning
@@ -51,7 +51,7 @@ def _file_md5(fn):
with open(fn, 'rb') as f:
return hashlib.md5(f.read()).hexdigest()
-defs = get_testcases()
+defs = gettestcases()
class TestDownload(unittest.TestCase):