Need unittesting!
This commit is contained in:
1 parent
a631551032
commit
0f6903ed15
3 files changed
+44
No files matched your search
Whitespace-only changes.
@@ -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)
|
||||||
|
|
||||||
|
|
||||||
@@ -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)
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user