Skip to content

Commit

Permalink
tests and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
morsela committed Dec 2, 2016
1 parent 61494f5 commit f3286ed
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="service.subtitles.torec"
name="Torec"
version="1.2.0"
version="1.2.1"
provider-name="slmosl">
<requires>
<import addon="xbmc.python" version="2.14.0"/>
Expand Down
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.2.1
- Improvement for the option of using the addon when kodi is not playing (@burekas7)
- Add support for local tvshow content (@burekas7)
- Fix bug for last episode in a season that didn't return results. (@burekas7)

1.2.0
- added support for the new download code screen
- fix Manual Search, Empty Title&Kodi isn't playing (@burekas7)
Expand Down
11 changes: 11 additions & 0 deletions tests/tvshow_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ def test_search_tvshow_sanity(self):
self.assertIsNotNone(options)
self.assertGreaterEqual(len(options), 5)

def test_search_tvshow_last_season_episode(self):
item = {
'tvshow': 'house of cards',
'season': '3',
'episode': '13'
}

options = self.downloader.search_tvshow(item['tvshow'], item['season'], item['episode'])
self.assertIsNotNone(options)
self.assertGreaterEqual(len(options), 5)

def test_search_inexisting_tvshow(self):
item = {
'tvshow': 'house of lards',
Expand Down

0 comments on commit f3286ed

Please sign in to comment.