diff --git a/test/test_plexupdate.py b/test/test_plexupdate.py index 942d9185b..1699890f8 100644 --- a/test/test_plexupdate.py +++ b/test/test_plexupdate.py @@ -8,9 +8,12 @@ import responses class PlexUpdateTest(unittest.TestCase, TestHelper): - def add_response_get_music_section(self): + def add_response_get_music_section(self, section_name = 'Music'): """Create response for mocking the get_music_section function. """ + + escaped_section_name = section_name.replace('"', '\\"') + body = ( '' '' '