There was an error while loading. Please reload this page.
2 parents 20f8646 + 48681af commit 0a8137fCopy full SHA for 0a8137f
1 file changed
openstackclient/tests/common/test_commandmanager.py
@@ -100,6 +100,6 @@ def test_get_command_names(self):
100
mock_pkg_resources,
101
) as iter_entry_points:
102
mgr = commandmanager.CommandManager('test')
103
- assert iter_entry_points.called_once_with('test')
+ iter_entry_points.assert_called_once_with('test')
104
cmds = mgr.get_command_names('test')
105
self.assertEqual(['one', 'cmd two'], cmds)
0 commit comments