mirror of
https://github.com/beetbox/beets.git
synced 2025-12-09 10:05:35 +01:00
wrap keys() result in a list() in importadded tests
This commit is contained in:
parent
10dda13d2a
commit
92950ec532
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ class ImportAddedTest(unittest.TestCase, ImportHelper):
|
|||
# Newer Item path mtimes as if Beets had modified them
|
||||
modify_mtimes(items_added_before.keys(), offset=10000)
|
||||
# Reimport
|
||||
import_dir = os.path.dirname(items_added_before.keys()[0])
|
||||
import_dir = os.path.dirname(list(items_added_before.keys())[0])
|
||||
self._setup_import_session(import_dir=import_dir, singletons=True)
|
||||
self.importer.run()
|
||||
# Verify the reimported items
|
||||
|
|
|
|||
Loading…
Reference in a new issue