Commit graph

2686 commits

Author SHA1 Message Date
Johann Klähn
e78b0928b2 fix mpdstats plugin after query restructuring
BytesQuery does not handle unicode strings correctly at the moment
and PathQuery seems like a reasonable query to use.
2014-01-31 20:16:22 +01:00
Adrian Sampson
456c8a7f01 fromfilename: fix #460: crash w/ no capture groups 2014-01-30 08:19:16 -08:00
Thomas Scholtes
a3c1b15198 Fix #514: add distance between string and None 2014-01-30 15:23:58 +01:00
Adrian Sampson
72694448ef coverage: exclude some code
Don't report on the test suite itself or on a few obviously excludable lines.
2014-01-29 23:44:25 -08:00
Adrian Sampson
f781b54acc coveralls: another attempt at narrowing coverage
perplexingly, the previous way was segfaulting on travis
2014-01-29 23:29:14 -08:00
Adrian Sampson
7935143448 coveralls: attempt to exclude non-beets code 2014-01-29 23:22:55 -08:00
Thomas Scholtes
df51aa2d1a Make --config path absolute 2014-01-30 00:11:19 +01:00
Thomas Scholtes
d75f6667e1 Add --config cli option 2014-01-29 23:38:05 +01:00
Thomas Scholtes
e628e33d78 Album import docs 2014-01-28 23:37:16 +01:00
Thomas Scholtes
af522e2416 Use L as shortcut 2014-01-28 23:37:05 +01:00
Thomas Scholtes
d12a4b20da Import multiple albums from single directory
If a directory contains multiple albums we can select the ALBUMS action to group
the tracks by album artist and album name and import those seperately.
2014-01-28 23:22:00 +01:00
Adrian Sampson
27eeb94f2c travis config: avoid failing shell commands
Appending "|| true" makes these optional commands always have exit status 0.
2014-01-28 12:27:16 -08:00
Adrian Sampson
179c2d16a5 travis config: test on PyPy
Curiously, we're still quite a bit slower on PyPy than on CPython, I think.
This might be due to slow SQLite bindings.
2014-01-28 12:23:43 -08:00
Adrian Sampson
74e22065ce travis config: report to coveralls.io 2014-01-28 12:22:35 -08:00
geigerzaehler
19c46b1273 Merge pull request #510 from geigerzaehler/import_test_refactor
Import Test Refactor
2014-01-28 12:00:08 -08:00
Thomas Scholtes
432d6f4437 Removed akward tests 2014-01-28 20:51:00 +01:00
Thomas Scholtes
81b8d44814 Migrate outside file tests 2014-01-28 20:49:02 +01:00
Thomas Scholtes
9a3963b58e Remove duplicate test
This is already tested by `ImportExistingTest.test_asis_updated_moves_file`
2014-01-28 20:28:38 +01:00
Thomas Scholtes
ae208f5f53 Use ImportSession sublass for tests 2014-01-28 20:13:02 +01:00
Thomas Scholtes
bb6adbfa11 add compilation tests 2014-01-28 20:08:42 +01:00
Thomas Scholtes
f8b899091b Migrate ApplyExistingItemsTest 2014-01-28 20:08:42 +01:00
Thomas Scholtes
aaefd023eb Extract choose tracks function 2014-01-28 20:08:42 +01:00
Thomas Scholtes
96e2d128c0 Revert old test cases 2014-01-28 20:08:42 +01:00
Thomas Scholtes
2a4c6d5bca Fixed typo makes tests pass 2014-01-28 20:08:42 +01:00
Thomas Scholtes
69a40593a0 Remove duplicate tests 2014-01-28 20:08:42 +01:00
Thomas Scholtes
910dc6a647 Add ImportCompliationTest 2014-01-28 20:08:42 +01:00
Thomas Scholtes
39f1b8c3d8 Refactor MusicBrainz stubs into helper class 2014-01-28 20:08:42 +01:00
Thomas Scholtes
9f4e227f96 More ImportTest refactoring 2014-01-28 20:08:41 +01:00
Thomas Scholtes
5535eddfaa Refactor Import Test 2014-01-28 20:08:41 +01:00
Thomas Scholtes
9b12d488e2 New Import test case 2014-01-28 20:07:20 +01:00
Thomas Scholtes
d302081cca ...and some refactoring again 2014-01-28 20:07:20 +01:00
Thomas Scholtes
bfaa56e5bd Stupid typo 2014-01-28 20:07:20 +01:00
Thomas Scholtes
42f54e36bd These tests are already in ImportNonAutotaggedTest 2014-01-28 20:07:20 +01:00
Thomas Scholtes
0cdb896003 Move prune and file tasks 2014-01-28 20:07:20 +01:00
Thomas Scholtes
33edb9a878 So this is how python works! ;) 2014-01-28 20:07:20 +01:00
Thomas Scholtes
c6654c5acf Make test strings more verbose 2014-01-28 20:07:19 +01:00
Thomas Scholtes
03f1879980 Extract library file assertions 2014-01-28 20:07:19 +01:00
Thomas Scholtes
49693f715c Use _setup_library() helper 2014-01-28 20:07:19 +01:00
Thomas Scholtes
e63ac27d1c Extract _run_import and expose config in tests 2014-01-28 20:07:19 +01:00
Thomas Scholtes
d65595c70b Extract ImportHelper for tests 2014-01-28 20:07:19 +01:00
Thomas Scholtes
f900f1e0c8 Refactor import test 2014-01-28 20:07:19 +01:00
Adrian Sampson
d674ca31e4 changelog/thanks for #512 2014-01-28 10:15:24 -08:00
Adrian Sampson
cfaaecf37f Merge pull request #512 from geigerzaehler/infer_albumartist
Infer album artist from album artist tag
2014-01-28 10:14:35 -08:00
Adrian Sampson
d6e1bc547f docs: fix reference to Transaction 2014-01-28 09:50:38 -08:00
Adrian Sampson
069ccde3e6 changelog/thanks for #511 2014-01-28 09:49:33 -08:00
Adrian Sampson
8ca997bd36 avoid repeating diff check, use changed set (#511)
This way, _showdiff returns the information that _different used to provide
(since _showdiff needs to calculate it anyway). Using a `changed` set also
makes it easier to avoid unnecessary work.
2014-01-28 09:46:53 -08:00
Thomas Scholtes
87d8aa7a86 Implement 117a331091 2014-01-28 15:45:32 +01:00
Thomas Scholtes
117a331091 Should infer *album artist* for albums from tag 2014-01-28 15:42:50 +01:00
Bruno Tournay
68bb0ca5ee Removed duplicated code: modified showdiff() so it uses also different() 2014-01-28 14:21:45 +01:00
Bruno Tournay
e7c8b16480 Removed dont_write_if_unchanged config option: now files tags are never updated unless db tags are changed (with beet modify) 2014-01-28 14:00:51 +01:00