From 4b313fdbfb91be07c33d45eb91e934542492237f Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Wed, 21 Jul 2010 16:19:10 -0700 Subject: [PATCH] fix a test that was leaving cover.jpg strewn about --- test/test_files.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_files.py b/test/test_files.py index 7ec5af79a..6382062bb 100644 --- a/test/test_files.py +++ b/test/test_files.py @@ -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))