beets/test
Adrian Sampson d4c3ea74c6 match ordering without length assumptions
This replaces order_items with assign_items, the first step to allowing unequal
numbers of items on either side of the equation (user files and canonical
tracks). Rather than returning a "holey" list and assuming that the TrackInfo
objects stay static, the function returns a dictionary mapping Item objects to
TrackInfo objects. To indicate unmatched objects, two sets are also returned.

For the moment, some temporary code is included to turn the result from this
new function into the old format (a holey Item list). This allowed me to test
this change in isolation before plunging ahead with the necessary refactoring to
expose all of this to the importer workflow, etc.
2012-06-29 15:11:25 -07:00
..
rsrc apply artist credits & add to database (GC-286) 2012-05-19 16:13:15 -07:00
__init__.py misc. overdue code cleanup 2010-07-09 18:07:15 -07:00
_common.py per_disc_numbering config option (GC-335) 2012-05-17 12:44:48 -07:00
test_art.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00
test_autotag.py match ordering without length assumptions 2012-06-29 15:11:25 -07:00
test_db.py library maintains per-thread DB conns. (GC-399) 2012-06-08 10:49:47 -07:00
test_files.py human-readable filesystem errors (#387) 2012-05-18 15:16:38 -07:00
test_importer.py library maintains per-thread DB conns. (GC-399) 2012-06-08 10:49:47 -07:00
test_mb.py include global index in TrackInfo objects 2012-06-29 14:06:28 -07:00
test_mediafile.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00
test_mediafile_basic.py add artist credit fields to MediaFile (GC-286) 2012-05-19 15:57:26 -07:00
test_pipeline.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00
test_player.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00
test_query.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00
test_template.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00
test_ui.py library maintains per-thread DB conns. (GC-399) 2012-06-08 10:49:47 -07:00
test_vfs.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00
testall.py The Great Trailing Whitespace Purge of 2012 2012-05-13 20:22:17 -07:00