mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fix another unittest error
This commit is contained in:
parent
c1a199d698
commit
5a5b2af676
1 changed files with 4 additions and 0 deletions
|
@ -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())
|
||||
|
||||
|
|
Loading…
Reference in a new issue