Merge "Don't use Mock.called_once_with that does not exist"

This commit is contained in:
Jenkins 2016-02-19 17:44:55 +00:00 committed by Gerrit Code Review
commit 0a8137f773
1 changed files with 1 additions and 1 deletions

View File

@ -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)