mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 13:33:02 +01:00
Fix inverted assertion sense
I broke this in 2fefd24 by using the wrong assertion.
This commit is contained in:
parent
a45dcdc674
commit
0f8fc33952
1 changed files with 2 additions and 2 deletions
|
|
@ -1104,7 +1104,7 @@ class ImportDuplicateAlbumTest(unittest.TestCase, TestHelper,
|
|||
self.importer.default_resolution = self.importer.Resolution.REMOVE
|
||||
self.importer.run()
|
||||
|
||||
self.assertExists(item.path)
|
||||
self.assertNotExists(item.path)
|
||||
self.assertEqual(len(self.lib.albums()), 1)
|
||||
self.assertEqual(len(self.lib.items()), 1)
|
||||
item = self.lib.items().get()
|
||||
|
|
@ -1200,7 +1200,7 @@ class ImportDuplicateSingletonTest(unittest.TestCase, TestHelper,
|
|||
self.importer.default_resolution = self.importer.Resolution.REMOVE
|
||||
self.importer.run()
|
||||
|
||||
self.assertExists(item.path)
|
||||
self.assertNotExists(item.path)
|
||||
self.assertEqual(len(self.lib.items()), 1)
|
||||
item = self.lib.items().get()
|
||||
self.assertEqual(item.mb_trackid, u'new trackid')
|
||||
|
|
|
|||
Loading…
Reference in a new issue