beets/test
Šarūnas Nejus 484c00e223
Add ability to filter flexible attributes through the Query
For a flexible attribute query, replace the `col_name` property with
a function call that extracts that attribute from the `field_attrs`
field introduced in the earlier commit.

Additionally, for boolean, numeric and date queries CAST the value to
NUMERIC SQLite affinity to ensure that our queries like 'flex:1..5' and
'flex:true' continue working fine.

This removes the concept of 'slow query', since every query for any
field now has an SQL clause.
2024-06-16 15:28:46 +01:00
..
plugins Fix querying fields present in both tables 2024-06-16 15:28:45 +01:00
rsrc Explicitly use Python 3 for scripts 2024-06-14 14:44:29 +02:00
__init__.py Remove unused imports 2021-08-26 20:59:48 +10:00
test_art_resize.py refactor the test methods to avoid suboptimal asserts. 2024-04-08 21:39:25 +08:00
test_autotag.py Make LazyClassProperty / cached_classproperty reusable 2024-06-16 14:20:07 +01:00
test_config_command.py Merge pull request #5184 from freddiewanah/master 2024-04-21 09:06:38 +10:00
test_datequery.py tests: move reusable test-related modules into the beets package 2024-01-15 19:40:57 +01:00
test_dbcore.py Remove NamedQuery 2024-04-30 22:20:36 +01:00
test_files.py Add missed HAVE_REFLINK in test_files.py 2024-05-30 14:09:37 +02:00
test_hidden.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_importer.py Replace py3_path with builtin os.fsdecode 2024-06-16 00:52:37 +01:00
test_library.py refactor the test methods to avoid suboptimal asserts. 2024-04-08 21:39:25 +08:00
test_logging.py tests: move reusable test-related modules into the beets package 2024-01-15 19:40:57 +01:00
test_m3ufile.py tests: move reusable test-related modules into the beets package 2024-01-15 19:40:57 +01:00
test_mb.py refactor the test methods to avoid suboptimal asserts. 2024-04-08 21:39:25 +08:00
test_metasync.py Replace py3_path with builtin os.fsdecode 2024-06-16 00:52:37 +01:00
test_pipeline.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_plugins.py refactor the test methods to avoid suboptimal asserts. 2024-04-08 21:39:25 +08:00
test_query.py Add ability to filter flexible attributes through the Query 2024-06-16 15:28:46 +01:00
test_sort.py remove redundant prints 2024-04-08 19:14:42 +08:00
test_template.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_ui.py Replace py3_path with builtin os.fsdecode 2024-06-16 00:52:37 +01:00
test_ui_commands.py remove extra setups in the test class 2024-04-09 16:46:35 +02:00
test_ui_importer.py tests: move reusable test-related modules into the beets package 2024-01-15 19:40:57 +01:00
test_ui_init.py Replace py3_path with builtin os.fsdecode 2024-06-16 00:52:37 +01:00
test_util.py refactor the test methods to avoid suboptimal asserts. 2024-04-08 21:39:25 +08:00
test_vfs.py tests: move reusable test-related modules into the beets package 2024-01-15 19:40:57 +01:00
testall.py Explicitly use Python 3 for scripts 2024-06-14 14:44:29 +02:00