Browse Source

Fix name_parser_tests.

pull/1289/head
Prinz23 5 years ago
committed by JackDandy
parent
commit
1efb8dd00c
  1. 1
      CHANGES.md
  2. 2
      tests/pp_tests.py

1
CHANGES.md

@ -25,7 +25,6 @@
* Fix name_parser_tests * Fix name_parser_tests
### 0.21.9 (2020-01-30 21:00:00 UTC)
### 0.21.11 (2020-02-01 21:40:00 UTC) ### 0.21.11 (2020-02-01 21:40:00 UTC)
* Change ended show mark "[ ! ]" of view-show/"Change show" pull down because Chromium removed the CSS method * Change ended show mark "[ ! ]" of view-show/"Change show" pull down because Chromium removed the CSS method

2
tests/pp_tests.py

@ -89,6 +89,7 @@ class PPBasicTests(test.SickbeardTestDBCase):
show_obj.save_to_db() show_obj.save_to_db()
sickbeard.showList = [show_obj] sickbeard.showList = [show_obj]
sickbeard.showDict = {show_obj.sid_int: show_obj}
ep_obj = TVEpisode(show_obj, test.SEASON, test.EPISODE) ep_obj = TVEpisode(show_obj, test.SEASON, test.EPISODE)
ep_obj.name = 'some ep name' ep_obj.name = 'some ep name'
ep_obj.release_name = 'test setter' ep_obj.release_name = 'test setter'
@ -144,6 +145,7 @@ class PPScriptTests(test.SickbeardTestDBCase):
show_obj.save_to_db() show_obj.save_to_db()
sickbeard.showList = [show_obj] sickbeard.showList = [show_obj]
sickbeard.showDict = {show_obj.sid_int: show_obj}
ep_obj = TVEpisode(show_obj, test.SEASON, test.EPISODE) ep_obj = TVEpisode(show_obj, test.SEASON, test.EPISODE)
ep_obj.name = 'some ep name' ep_obj.name = 'some ep name'
ep_obj.location = '/mnt/hdd/folder/the show/season 01/the show - s01e01 - name.mkv' ep_obj.location = '/mnt/hdd/folder/the show/season 01/the show - s01e01 - name.mkv'

Loading…
Cancel
Save