Thomas Scholtes
ba49675252
More tests and test documentation for Importer
2014-02-01 20:05:36 +01:00
Thomas Scholtes
9e105bd09b
Add tests for TerminalImportSession
2014-02-01 19:19:48 +01:00
Thomas Scholtes
fb46571bf7
Set importer choices with add_choice
...
We can hook into this method in the next commit
2014-02-01 19:04:24 +01:00
Thomas Scholtes
6a872ae560
Add --group-albums cli option
2014-02-01 15:36:11 +01:00
Thomas Scholtes
759a26a109
Remove duplicate code
2014-02-01 15:05:16 +01:00
Thomas Scholtes
24ffd0982e
Add group albums stage and configuration
2014-02-01 15:02:00 +01:00
Thomas Scholtes
0abf41e2fb
Use Pipline.push() in importer stages
2014-02-01 15:01:05 +01:00
Thomas Scholtes
565a284c03
Add pull() generator to Pipeline
2014-02-01 13:43:05 +01:00
Thomas Scholtes
736835ce72
Rename as aLbums option ( #518 )
2014-02-01 12:56:17 +01:00
Adrian Sampson
d6013f51d2
a bit more docs, changelog for #518
2014-01-31 17:01:18 -08:00
Adrian Sampson
5a35d93b22
tiny option-choosing fixes for #518
...
* 'L' check needs to be lower-case
* letter for 'More candidates' is M, not C
2014-01-31 16:57:07 -08:00
Adrian Sampson
4fe524c0ec
Merge pull request #515 from kljohann/mpdstats
...
fix mpdstats plugin after query restructuring
2014-01-31 14:38:14 -08:00
Adrian Sampson
0d4698a8af
fix #517 : BytesQuery accepts unicode strings
2014-01-31 13:14:45 -08:00
geigerzaehler
baa55bea1b
Merge pull request #516 from kljohann/typo
...
fix typo in BytesQuery
2014-01-31 12:30:04 -08:00
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
Johann Klähn
e3a9e04c01
fix typo in BytesQuery
2014-01-31 20:01:35 +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