MCPcopy
hub / github.com/beetbox/beets / test_unicode_path

Method test_unicode_path

test/test_library.py:1266–1273  ·  view source on GitHub ↗
(self, item_in_db)

Source from the content-addressed store, hash-verified

1264
1265class TestUnicodePath(PytestItemHelper):
1266 def test_unicode_path(self, item_in_db):
1267 item_in_db.path = os.path.join(
1268 _common.RSRC, "unicode\u2019d.mp3".encode()
1269 )
1270 # If there are any problems with unicode paths, we will raise
1271 # here and fail.
1272 item_in_db.read()
1273 item_in_db.write()
1274
1275
1276class TestWrite(TestHelper):

Callers

nothing calls this directly

Calls 4

joinMethod · 0.80
encodeMethod · 0.45
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected