mirror of
https://github.com/beetbox/beets.git
synced 2025-12-29 20:12:33 +01:00
fix empty disambig string test
This commit is contained in:
parent
d10df34c65
commit
eaa2161a90
1 changed files with 6 additions and 2 deletions
|
|
@ -730,10 +730,14 @@ class DisambiguationTest(_common.TestCase, PathFormattingMixin):
|
|||
self._setf(u'foo%aunique{albumartist album,albumtype}/$title')
|
||||
self._assert_dest(b'/base/foo [foo_bar]/the title', self.i1)
|
||||
|
||||
def test_drop_empty_disam_string(self):
|
||||
def test_drop_empty_disambig_string(self):
|
||||
album1 = self.lib.get_album(self.i1)
|
||||
album1.year = None
|
||||
album1.albumdisambig = None
|
||||
album2 = self.lib.get_album(self.i2)
|
||||
album2.albumdisambig = u'foo'
|
||||
album1.store()
|
||||
album2.store()
|
||||
self._setf(u'foo%aunique{albumartist album,albumdisambig}/$title')
|
||||
self._assert_dest(b'/base/foo/the title', self.i1)
|
||||
|
||||
def test_change_brackets(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue