Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister committed Oct 26, 2023
1 parent 5e8e6f1 commit 4d1f5b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_get_api_data_single_season(self):
def test_get_api_data_multiple_seasons(self):
"""Test listing episodes for multiple seasons (winteruur)"""
title_items, sort, ascending, content = get_episodes(program_name='winteruur')
self.assertTrue(5 < len(title_items) < 10)
self.assertTrue(5 < len(title_items) < 15)
self.assertEqual(sort, 'unsorted')
self.assertTrue(ascending)
self.assertEqual(content, 'files')
Expand Down
2 changes: 1 addition & 1 deletion tests/test_vrtplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_categories(self):
def test_featured(self):
"""Test featured menu"""
featured_items, _, _, _ = get_featured()
self.assertEqual(len(featured_items), 14)
self.assertTrue(5 < len(featured_items) < 25)

@unittest.skipUnless(addon.settings.get('username'), 'Skipping as VRT username is missing.')
@unittest.skipUnless(addon.settings.get('password'), 'Skipping as VRT password is missing.')
Expand Down

0 comments on commit 4d1f5b3

Please sign in to comment.