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

Method test_albuminfo_move_changes_paths

test/test_files.py:272–278  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

270 self.otherdir = os.path.join(self.temp_dir, b"testotherdir")
271
272 def test_albuminfo_move_changes_paths(self):
273 self.ai.album = "newAlbumName"
274 self.ai.move()
275 self.ai.store()
276 self.i.load()
277
278 assert b"newAlbumName" in self.i.path
279
280 def test_albuminfo_move_moves_file(self):
281 oldpath = self.i.filepath

Callers

nothing calls this directly

Calls 3

moveMethod · 0.45
storeMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected