Merge "Don't use Mock.called_once_with that does not exist"
This commit is contained in:
commit
0a8137f773
@ -100,6 +100,6 @@ class TestCommandManager(utils.TestCase):
|
||||
mock_pkg_resources,
|
||||
) as iter_entry_points:
|
||||
mgr = commandmanager.CommandManager('test')
|
||||
assert iter_entry_points.called_once_with('test')
|
||||
iter_entry_points.assert_called_once_with('test')
|
||||
cmds = mgr.get_command_names('test')
|
||||
self.assertEqual(['one', 'cmd two'], cmds)
|
||||
|
Loading…
x
Reference in New Issue
Block a user