mirror of
https://github.com/beetbox/beets.git
synced 2025-12-30 04:22:40 +01:00
remove pathlib tests that just test pathlib itself
This commit is contained in:
parent
cec632f359
commit
75c226bd37
1 changed files with 0 additions and 5 deletions
|
|
@ -273,20 +273,15 @@ class ThumbnailsTest(unittest.TestCase, TestHelper):
|
|||
|
||||
def test_uri(self):
|
||||
gio = GioURI()
|
||||
plib = PathlibURI()
|
||||
if not gio.available:
|
||||
self.skipTest(u"GIO library not found")
|
||||
|
||||
self.assertEqual(gio.uri(u"/foo"), b"file:///") # silent fail
|
||||
self.assertEqual(gio.uri(b"/foo"), b"file:///foo")
|
||||
self.assertEqual(gio.uri(b"/foo!"), b"file:///foo!")
|
||||
self.assertEqual(plib.uri(b"/foo!"), b"file:///foo%21")
|
||||
self.assertEqual(
|
||||
gio.uri(b'/music/\xec\x8b\xb8\xec\x9d\xb4'),
|
||||
b'file:///music/%EC%8B%B8%EC%9D%B4')
|
||||
self.assertEqual(
|
||||
plib.uri(b'/music/\xec\x8b\xb8\xec\x9d\xb4'),
|
||||
b'file:///music/%EC%8B%B8%EC%9D%B4')
|
||||
|
||||
|
||||
def suite():
|
||||
|
|
|
|||
Loading…
Reference in a new issue