aboutsummaryrefslogtreecommitdiffstats
path: root/test/helper.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-10-18 00:46:35 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-10-18 00:46:35 +0200
commitf4d96df0f1e978d580197fafb8dacade4b611ef3 (patch)
tree71652f6406597fbcb975bb0a6d69bd2d0ac4633e /test/helper.py
parent5d254f776a4d306961b6d22d8f7615844ef64390 (diff)
downloadyoutube-dl-f4d96df0f1e978d580197fafb8dacade4b611ef3.zip
youtube-dl-f4d96df0f1e978d580197fafb8dacade4b611ef3.tar.gz
youtube-dl-f4d96df0f1e978d580197fafb8dacade4b611ef3.tar.bz2
Extend #980 with --max-quality support
Diffstat (limited to 'test/helper.py')
-rw-r--r--test/helper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helper.py b/test/helper.py
index 79a0ede..777119e 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -34,10 +34,10 @@ def try_rm(filename):
class FakeYDL(YoutubeDL):
- def __init__(self):
+ def __init__(self, override=None):
# Different instances of the downloader can't share the same dictionary
# some test set the "sublang" parameter, which would break the md5 checks.
- params = get_params()
+ params = get_params(override=override)
super(FakeYDL, self).__init__(params)
self.result = []