mirror of
https://github.com/beetbox/beets.git
synced 2025-12-12 03:24:44 +01:00
Merge pull request #4505 from beetbox/fix-unidecode
Adapt tests to latest Unidecode version
This commit is contained in:
commit
7f977079c3
2 changed files with 3 additions and 3 deletions
2
setup.py
2
setup.py
|
|
@ -85,7 +85,7 @@ setup(
|
|||
},
|
||||
|
||||
install_requires=[
|
||||
'unidecode',
|
||||
'unidecode>=1.3.6',
|
||||
'musicbrainzngs>=0.4',
|
||||
'pyyaml',
|
||||
'mediafile>=0.9.0',
|
||||
|
|
|
|||
|
|
@ -441,7 +441,7 @@ class DestinationTest(_common.TestCase):
|
|||
self.lib.directory = b'lib'
|
||||
self.lib.path_formats = [('default', '$title')]
|
||||
self.i.title = 'ab\xa2\xbdd'
|
||||
self.assertEqual(self.i.destination(), np('lib/abC_ 1_2 d'))
|
||||
self.assertEqual(self.i.destination(), np('lib/abC_ 1_2d'))
|
||||
|
||||
def test_destination_with_replacements(self):
|
||||
self.lib.directory = b'base'
|
||||
|
|
@ -637,7 +637,7 @@ class DestinationFunctionTest(_common.TestCase, PathFormattingMixin):
|
|||
|
||||
def test_asciify_variable(self):
|
||||
self._setf('%asciify{ab\xa2\xbdd}')
|
||||
self._assert_dest(b'/base/abC_ 1_2 d')
|
||||
self._assert_dest(b'/base/abC_ 1_2d')
|
||||
|
||||
def test_left_variable(self):
|
||||
self._setf('%left{$title, 3}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue