aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-06-27 19:43:43 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-06-27 19:43:43 +0200
commit41beccbab0f8ecaace69c5d6ffb00ac20a813565 (patch)
tree3c02f5be828ddd9c8dd85b36f4eaad59100a0416 /test
parent2eb88d953f25e178881c1415c68fea1f770a7ee6 (diff)
Use str every time
Diffstat (limited to 'test')
-rw-r--r--test/test_download.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_download.py b/test/test_download.py
index dbb73d32a..019498f62 100644
--- 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)