summaryrefslogtreecommitdiff
path: root/openstackclient/tests/common/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/common/test_utils.py')
-rw-r--r--openstackclient/tests/common/test_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/tests/common/test_utils.py b/openstackclient/tests/common/test_utils.py
index fbc1a926..6d75a9b5 100644
--- a/openstackclient/tests/common/test_utils.py
+++ b/openstackclient/tests/common/test_utils.py
@@ -117,7 +117,7 @@ class TestFindResource(test_utils.TestCase):
self.assertEqual("No lego with a name or ID of 'legos' exists.",
str(result))
self.manager.get.assert_called_with(self.name)
- self.manager.find.assert_called_with(display_name=self.name)
+ self.manager.find.assert_called_with(name=self.name)
def test_find_resource_find_no_unique(self):
self.manager.get = mock.Mock(side_effect=Exception('Boom!'))
@@ -129,4 +129,4 @@ class TestFindResource(test_utils.TestCase):
self.assertEqual("More than one lego exists with the name 'legos'.",
str(result))
self.manager.get.assert_called_with(self.name)
- self.manager.find.assert_called_with(display_name=self.name)
+ self.manager.find.assert_called_with(name=self.name)