Skip to content

Commit

Permalink
Add library_name parameter to plexupdate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dnq committed Sep 8, 2015
1 parent 764fcc6 commit 2b37d8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_plexupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ def test_get_music_section(self):
self.assertEqual(get_music_section(
self.config['plex']['host'],
self.config['plex']['port'],
self.config['plex']['token']), '2')
self.config['plex']['token'],
self.config['plex']['library_name'].get()), '2')

@responses.activate
def test_update_plex(self):
Expand All @@ -100,7 +101,8 @@ def test_update_plex(self):
self.assertEqual(update_plex(
self.config['plex']['host'],
self.config['plex']['port'],
self.config['plex']['token']).status_code, 200)
self.config['plex']['token'],
self.config['plex']['library_name'].get()).status_code, 200)


def suite():
Expand Down

0 comments on commit 2b37d8f

Please sign in to comment.