add tests for use_cipher_signature videos (#897) and the ability to test multiple videos per IE
This commit is contained in:
parent
577d02370d
commit
f7ab6cbe16
2 changed files with 29 additions and 1 deletions
|
@ -153,9 +153,11 @@ def generator(test_case):
|
|||
return test_template
|
||||
|
||||
### And add them to TestDownload
|
||||
for test_case in defs:
|
||||
for n, test_case in enumerate(defs):
|
||||
test_method = generator(test_case)
|
||||
test_method.__name__ = "test_{0}".format(test_case["name"])
|
||||
if getattr(TestDownload, test_method.__name__, False):
|
||||
test_method.__name__ = "test_{0}_{1}".format(test_case["name"], n)
|
||||
setattr(TestDownload, test_method.__name__, test_method)
|
||||
del test_method
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue