diff --git a/couchpotato/_tests/__init__.py b/couchpotato/_tests/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/couchpotato/_tests/renamer.py b/couchpotato/_tests/renamer.py new file mode 100644 index 00000000..cbd8a10b --- /dev/null +++ b/couchpotato/_tests/renamer.py @@ -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) + + diff --git a/couchpotato/_tests/scanner.py b/couchpotato/_tests/scanner.py new file mode 100644 index 00000000..9e6408bd --- /dev/null +++ b/couchpotato/_tests/scanner.py @@ -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) + +