mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Update test for simpler interactive_open
This commit is contained in:
parent
3a5dd47e3a
commit
e3f7da5467
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class UtilTest(unittest.TestCase):
|
|||
@patch('beets.util.open_anything')
|
||||
def test_interactive_open(self, mock_open, mock_execlp):
|
||||
mock_open.return_value = 'tagada'
|
||||
util.interactive_open(['foo'])
|
||||
util.interactive_open(['foo'], util.open_anything())
|
||||
mock_execlp.assert_called_once_with('tagada', 'tagada', 'foo')
|
||||
mock_execlp.reset_mock()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue