projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eb88d9
)
Use str every time
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 27 Jun 2013 17:43:43 +0000
(19:43 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 27 Jun 2013 17:43:43 +0000
(19:43 +0200)
test/test_download.py
patch
|
blob
|
history
diff --git
a/test/test_download.py
b/test/test_download.py
index dbb73d32a39e62972fab625cd4b4473e2cb0b21b..019498f6251db171d76b2e0044cf95965698d03b 100644
(file)
--- a/
test/test_download.py
+++ b/
test/test_download.py
@@
-168,7
+168,7
@@
for n, test_case in enumerate(defs):
tname = 'test_' + str(test_case['name'])
i = 1
while hasattr(TestDownload, tname):
- tname = 'test_' +
test_case['name']
+ '_' + str(i)
+ tname = 'test_' +
str(test_case['name'])
+ '_' + str(i)
i += 1
test_method.__name__ = tname
setattr(TestDownload, test_method.__name__, test_method)