1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

Fix another unittest error

This commit is contained in:
Adam 2014-09-24 12:51:48 +08:00
parent c1a199d698
commit 5a5b2af676

View File

@ -27,6 +27,7 @@ import sys, os.path
from sickbeard.postProcessor import PostProcessor
import sickbeard
from sickbeard.tv import TVEpisode, TVShow
from sickbeard.name_cache import addNameToCache
class PPInitTests(unittest.TestCase):
@ -93,6 +94,9 @@ class PPBasicTests(test.SickbeardTestDBCase):
ep.name = "some ep name"
ep.saveToDB()
addNameToCache('show name', 3)
sickbeard.PROCESS_METHOD = 'move'
pp = PostProcessor(test.FILEPATH)
self.assertTrue(pp.process())