add test for aunique without brackets

This commit is contained in:
diomekes 2017-01-20 09:06:38 -05:00
parent 3a967df396
commit d10df34c65

View file

@ -740,6 +740,10 @@ class DisambiguationTest(_common.TestCase, PathFormattingMixin):
self._setf(u'foo%aunique{albumartist album,year,()}/$title')
self._assert_dest(b'/base/foo (2001)/the title', self.i1)
def test_remove_brackets(self):
self._setf(u'foo%aunique{albumartist album,year, }/$title')
self._assert_dest(b'/base/foo 2001/the title', self.i1)
class PluginDestinationTest(_common.TestCase):
def setUp(self):