mirror of
https://github.com/beetbox/beets.git
synced 2026-02-22 07:14:24 +01:00
Add library_name parameter to plexupdate tests
This commit is contained in:
parent
764fcc6b4c
commit
2b37d8f775
1 changed files with 4 additions and 2 deletions
|
|
@ -88,7 +88,8 @@ class PlexUpdateTest(unittest.TestCase, TestHelper):
|
|||
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):
|
||||
|
|
@ -100,7 +101,8 @@ class PlexUpdateTest(unittest.TestCase, TestHelper):
|
|||
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():
|
||||
|
|
|
|||
Loading…
Reference in a new issue