summaryrefslogtreecommitdiff
path: root/cliff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-30 21:01:32 +0000
committerGerrit Code Review <review@openstack.org>2017-06-30 21:01:32 +0000
commitd2518d216df4aca560b8a128152fa65327b3be0b (patch)
treeec67fc523de4177c2afe19de9a92458a41afd349 /cliff
parented274a8b056b609a0722a474acb27e62cdf83284 (diff)
parent14f8beb61bb9956b14b7172cb10aa09c3193bd4a (diff)
downloadcliff-d2518d216df4aca560b8a128152fa65327b3be0b.tar.gz
Merge "Fix erroneous line in command hook test"
Diffstat (limited to 'cliff')
-rw-r--r--cliff/tests/test_command_hooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cliff/tests/test_command_hooks.py b/cliff/tests/test_command_hooks.py
index 0d9c8b0..d4af103 100644
--- a/cliff/tests/test_command_hooks.py
+++ b/cliff/tests/test_command_hooks.py
@@ -27,7 +27,7 @@ def make_app(**kwargs):
cmd = mock.MagicMock(spec=command.Command)
command_inst = mock.MagicMock(spec=command.Command)
command_inst.run.return_value = 0
- command.return_value = command_inst
+ cmd.return_value = command_inst
cmd_mgr.add_command('mock', cmd)
# Register a command that fails