def test_group_dashes(self): """SeriesParser: group name around extra dashes""" s = SeriesParser() s.name = 'Test' s.data = 'Test.S01E01-FooBar-Group' s.allow_groups = ['xxxx', 'group'] s.parse() assert s.group == 'group', 'did not get group with extra dashes'
def test_from_groups(self): """SeriesParser: test from groups""" s = SeriesParser() s.name = 'Test' s.data = 'Test.S01E01-Group' s.allow_groups = ['xxxx', 'group'] s.parse() assert s.group == 'group', 'did not get group'
def test_from_groups(self): """SeriesParser: test from groups""" s = SeriesParser() s.name = "Test" s.data = "Test.S01E01-Group" s.allow_groups = ["xxxx", "group"] s.parse() assert s.group == "group", "did not get group"