diff --git a/test/test_library.py b/test/test_library.py index 263254f6b..34e5437e5 100644 --- a/test/test_library.py +++ b/test/test_library.py @@ -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):