Need unittesting!

This commit is contained in:
Ruud
2011-12-21 17:31:34 +01:00
parent a631551032
commit 0f6903ed15
3 changed files with 44 additions and 0 deletions
View File
+22
View File
@@ -0,0 +1,22 @@
import unittest
class RenamingTests(unittest.TestCase):
"""
Test renaming of just downloaded movies
"""
fixtures = [
(
'/path/to/movies/Moviename.2009.720p.bluray-groupname',
'Unicodestring'
),
]
def testUnicode(self, name, result):
pass
def tests(self):
for (name, result) in self.fixtures:
self.testUnicode(name, result)
+22
View File
@@ -0,0 +1,22 @@
import unittest
class UnicodeTests(unittest.TestCase):
"""
Test unicode pathname conversion
"""
fixtures = [
(
'Unicodstring',
u'Unicodestring'
),
]
def testUnicode(self, name, result):
pass
def tests(self):
for (name, result) in self.fixtures:
self.testUnicode(name, result)