Fix KeyFinder test assertion

This commit is contained in:
Adrian Sampson 2016-06-06 12:17:17 -07:00
parent 94372e87a8
commit 8b62aa828c

View file

@ -20,6 +20,7 @@ from test._common import unittest
from test.helper import TestHelper
from beets.library import Item
from beets import util
class KeyFinderTest(unittest.TestCase, TestHelper):
@ -45,7 +46,7 @@ class KeyFinderTest(unittest.TestCase, TestHelper):
item.load()
self.assertEqual(item['initial_key'], 'C#m')
self.command_output.assert_called_with(
['KeyFinder', '-f', item.path])
['KeyFinder', '-f', util.syspath(item.path)])
def test_add_key_on_import(self):
self.command_output.return_value = 'dbm'