midgetspy/Sick-Beard — pull request #460 by itofzo (2012-08-22 12:29:10+00:00)
Title: Change testRename: Get ep_obj with showObj.getAllEpisodes()

Change: Get ep_obj with showObj.getAllEpisodes() and make a 'renamelist' of ep_obj with location.

Otherwise when a object is created with showObj.makeEpFromFile and the file is deleted or renamed outside SickBeard, testRename raises exception: Cannot find 'location' while searching for 'location'.

In this case we always have a location and get a 'nice' error log during renaming when file doesn't exist anymore.