summaryrefslogtreecommitdiff
path: root/openstackclient/tests/common/test_commandmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/common/test_commandmanager.py')
-rw-r--r--openstackclient/tests/common/test_commandmanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/common/test_commandmanager.py b/openstackclient/tests/common/test_commandmanager.py
index 056b637d..37dc90fe 100644
--- a/openstackclient/tests/common/test_commandmanager.py
+++ b/openstackclient/tests/common/test_commandmanager.py
@@ -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)