Browse Source

Simplify test parameter initialization

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
c073e35b1e
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      test/test_download.py

+ 2
- 3
test/test_download.py View File

@ -74,9 +74,8 @@ def generator(test_case):
print('Skipping: {0}'.format(test_case['skip']))
return
params = dict(self.parameters) # Duplicate it locally
for p in test_case.get('params', {}):
params[p] = test_case['params'][p]
params = self.parameters.copy()
params.update(test_case.get('params', {}))
fd = FileDownloader(params)
fd.add_info_extractor(ie())


Loading…
Cancel
Save