beets/test
Lars Kruse 4c2362b361 tests: remove import path mangling while importing 'test._common'
The import path mangling is not relevant (anymore?) for the two
ways of running tests:

* `python3 test/testall.py` (see CONTRIBUTING.rst):
  The `testall.py` script already adds the project path to `sys.path`.
* `tox -e py-cov`: this command is supposed to be run from the project
  path. Thus, the current directory is already the first of location
  in `sys.path`.

The previous mangling of the import path while loading a module could
lead to unwanted side-effects hidden in an unexpected location.
Instead, import path mangling should take place in the script being
called by the user (here: `testall.py`).
2024-01-15 19:40:57 +01:00
..
plugins smartplaylist: add --uri-format option 2023-12-16 05:37:27 +01:00
rsrc Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
__init__.py Remove unused imports 2021-08-26 20:59:48 +10:00
_common.py tests: remove import path mangling while importing 'test._common' 2024-01-15 19:40:57 +01:00
helper.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_art_resize.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_autotag.py fixup noqa after black auto-formatting 2023-10-22 10:22:09 +02:00
test_config_command.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_datequery.py fixup noqa after black auto-formatting 2023-10-22 10:22:09 +02:00
test_dbcore.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_files.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_hidden.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_importer.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_library.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_logging.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_m3ufile.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_mb.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_metasync.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_pipeline.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_plugins.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_query.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_sort.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_template.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_ui.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_ui_commands.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_ui_importer.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_ui_init.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_util.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
test_vfs.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00
testall.py Apply formatting tools to all files 2023-10-22 09:53:18 +10:00