mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 15:31:03 +00:00
Merge "Don't use Mock.called_once_with that does not exist"
This commit is contained in:
commit
0a8137f773
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue