mirror of
https://github.com/beetbox/beets.git
synced 2025-12-07 17:16:07 +01:00
fix a test that was leaving cover.jpg strewn about
This commit is contained in:
parent
11c9b7fad9
commit
4b313fdbfb
1 changed files with 2 additions and 0 deletions
|
|
@ -184,8 +184,10 @@ class ArtFileTest(unittest.TestCase):
|
|||
newart = os.path.join(self.libdir, 'newart.jpg')
|
||||
touch(newart)
|
||||
i2 = item()
|
||||
i2.path = self.i.path
|
||||
i2.artist = 'someArtist'
|
||||
ai = self.lib.add_album((i2,))
|
||||
i2.move(self.lib, True)
|
||||
self.assertEqual(ai.artpath, None)
|
||||
ai.set_art(newart)
|
||||
self.assertTrue(os.path.exists(ai.artpath))
|
||||
|
|
|
|||
Loading…
Reference in a new issue