mirror of
https://github.com/beetbox/beets.git
synced 2026-01-03 22:42:44 +01:00
use _common.PLUGINPATH in one more place
Not sure how I missed it, but I did
This commit is contained in:
parent
ed4ce6214b
commit
f8bdf7498f
1 changed files with 1 additions and 3 deletions
|
|
@ -872,11 +872,9 @@ class ConfigTest(unittest.TestCase, TestHelper, _common.Assertions):
|
|||
os.path.join(os.getcwd(), 'foo.db'))
|
||||
|
||||
def test_cli_config_file_loads_plugin_commands(self):
|
||||
plugin_path = os.path.join(_common.RSRC, 'beetsplug')
|
||||
|
||||
cli_config_path = os.path.join(self.temp_dir, 'config.yaml')
|
||||
with open(cli_config_path, 'w') as file:
|
||||
file.write('pluginpath: %s\n' % plugin_path)
|
||||
file.write('pluginpath: %s\n' % _common.PLUGINPATH)
|
||||
file.write('plugins: test')
|
||||
|
||||
ui._raw_main(['--config', cli_config_path, 'plugin'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue