mirror of
https://github.com/beetbox/beets.git
synced 2025-12-08 09:34:23 +01:00
add test for aunique without brackets
This commit is contained in:
parent
3a967df396
commit
d10df34c65
1 changed files with 4 additions and 0 deletions
|
|
@ -740,6 +740,10 @@ class DisambiguationTest(_common.TestCase, PathFormattingMixin):
|
||||||
self._setf(u'foo%aunique{albumartist album,year,()}/$title')
|
self._setf(u'foo%aunique{albumartist album,year,()}/$title')
|
||||||
self._assert_dest(b'/base/foo (2001)/the title', self.i1)
|
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):
|
class PluginDestinationTest(_common.TestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue