mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 22:42:44 +01:00
disable auto-migration for unit tests
This commit is contained in:
parent
0fdda2fe0b
commit
e6e7e93657
1 changed files with 2 additions and 1 deletions
|
|
@ -633,7 +633,8 @@ def _raw_main(args, load_config=True):
|
|||
|
||||
# Temporary: Migrate from 1.0-style configuration.
|
||||
from beets.ui import migrate
|
||||
migrate.automigrate()
|
||||
if load_config:
|
||||
migrate.automigrate()
|
||||
|
||||
# Get the default subcommands.
|
||||
from beets.ui.commands import default_commands
|
||||
|
|
|
|||
Loading…
Reference in a new issue