beets/test
Bruno Cauet 3804eb5b52 Stop on invalid queries instead of ignoring them
So far an invalid query won't be applied:
    $ beet ls The Beatles year:196a
will be treaded as
    $ beet ls The Beatles
With this commit it stops beets, returns 1 and produces
    $ invalid query: u'196a' is not an int or a float
This applies to any querying and therefore on many command, plugins and
some configuration options.
Invalid queries exist on numeric fields and on regular expression usage.

Compile regular expression queries upon instantiation instead of upon
each match test.

The reporting can be improved (give more context). Fix #1219.
2015-01-14 11:28:50 +01:00
..
rsrc lyrics: add test checking scraping of mocked page 2014-12-31 06:16:06 +01:00
__init__.py Make tests conform to PEP8 2014-09-09 22:31:46 +02:00
_common.py Use a standard logger for the import log 2015-01-12 21:47:44 +01:00
helper.py Use a standard logger for the import log 2015-01-12 21:47:44 +01:00
lyrics_download_samples.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_art.py Merge branch 'master' into logging 2015-01-09 15:15:27 +01:00
test_autotag.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_bucket.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_completion.sh Add completion of plugin commands 2014-03-02 16:18:16 +01:00
test_config_command.py Allow invalid configuration files to be edited 2014-12-01 13:02:21 +01:00
test_convert.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_datequery.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_dbcore.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_echonest.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_embedart.py Merge branch 'master' into logging 2015-01-09 15:15:27 +01:00
test_fetchart.py Merge pull request #1211 from brunal/fetchart-check-isfile 2015-01-08 13:40:21 -08:00
test_files.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_ftintitle.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_ihate.py Make tests conform to PEP8 2014-09-09 22:31:46 +02:00
test_importadded.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_importer.py Improve importer log unicode-handling test 2015-01-12 22:20:58 +01:00
test_importfeeds.py Simple test fixes 2015-01-06 21:42:10 +01:00
test_info.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_keyfinder.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_lastgenre.py Merge branch 'master' into logging 2015-01-09 15:15:27 +01:00
test_library.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_logging.py Port beets.logging to python 2.6 2015-01-05 09:21:11 +01:00
test_lyrics.py Merge branch 'master' into logging 2015-01-09 15:15:27 +01:00
test_mb.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_mbsync.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_mediafile.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_mediafile_edge.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_permissions.py Tests: fix unload_plugins 2014-11-24 10:58:32 -08:00
test_pipeline.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_player.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_plexupdate.py Added plexupdate plugin for refreshing plex music library after importing music. 2014-11-28 11:19:17 +01:00
test_plugins.py Ensure there's no duplicate plugin listeners 2015-01-13 11:29:42 +01:00
test_query.py Stop on invalid queries instead of ignoring them 2015-01-14 11:28:50 +01:00
test_replaygain.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_sort.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_spotify.py Fix mocking in Spotify tests 2014-09-16 10:43:53 -07:00
test_template.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_the.py Make tests conform to PEP8 2014-09-09 22:31:46 +02:00
test_types_plugin.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_ui.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_ui_importer.py Use a standard logger for the import log 2015-01-12 21:47:44 +01:00
test_vfs.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00
test_web.py Make tests conform to PEP8 2014-09-09 22:31:46 +02:00
test_zero.py zero: make tests more explicit 2014-12-02 18:07:19 +01:00
testall.py Happy 2015. ;) 2015-01-08 21:37:09 +01:00