mirror of
https://github.com/beetbox/beets.git
synced 2025-12-08 01:23:09 +01:00
Fixed flake8 errors
This commit is contained in:
parent
16ef9a7aeb
commit
9e6f31eef0
1 changed files with 3 additions and 1 deletions
|
|
@ -1013,13 +1013,15 @@ class TemplateTest(_common.LibTestCase):
|
||||||
self.album.store()
|
self.album.store()
|
||||||
self.assertEqual(self.i.evaluate_template('$foo'), 'baz')
|
self.assertEqual(self.i.evaluate_template('$foo'), 'baz')
|
||||||
|
|
||||||
class UnicodeReadWriteTest(_common.LibTestCase):
|
|
||||||
|
class UnicodePathTest(_common.LibTestCase):
|
||||||
def test_unicode_path(self):
|
def test_unicode_path(self):
|
||||||
self.i.path = os.path.join(_common.RSRC, 'unicode’d.mp3')
|
self.i.path = os.path.join(_common.RSRC, 'unicode’d.mp3')
|
||||||
# if there are any problems with unicode paths, we will raise here and fail
|
# if there are any problems with unicode paths, we will raise here and fail
|
||||||
self.i.read()
|
self.i.read()
|
||||||
self.i.write()
|
self.i.write()
|
||||||
|
|
||||||
|
|
||||||
class WriteTest(_common.LibTestCase):
|
class WriteTest(_common.LibTestCase):
|
||||||
def test_write_nonexistant(self):
|
def test_write_nonexistant(self):
|
||||||
self.i.path = '/path/does/not/exist'
|
self.i.path = '/path/does/not/exist'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue