summaryrefslogtreecommitdiff
path: root/openstackclient/tests/identity/v2_0/test_endpoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/identity/v2_0/test_endpoint.py')
-rw-r--r--openstackclient/tests/identity/v2_0/test_endpoint.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/openstackclient/tests/identity/v2_0/test_endpoint.py b/openstackclient/tests/identity/v2_0/test_endpoint.py
index 11696f46..9331b256 100644
--- a/openstackclient/tests/identity/v2_0/test_endpoint.py
+++ b/openstackclient/tests/identity/v2_0/test_endpoint.py
@@ -164,7 +164,9 @@ class TestEndpointList(TestEndpoint):
verifylist = []
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
- # DisplayCommandBase.take_action() returns two tuples
+ # In base command class Lister in cliff, abstract method take_action()
+ # returns a tuple containing the column names and an iterable
+ # containing the data to be listed.
columns, data = self.cmd.take_action(parsed_args)
self.endpoints_mock.list.assert_called_with()
@@ -188,7 +190,9 @@ class TestEndpointList(TestEndpoint):
]
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
- # DisplayCommandBase.take_action() returns two tuples
+ # In base command class Lister in cliff, abstract method take_action()
+ # returns a tuple containing the column names and an iterable
+ # containing the data to be listed.
columns, data = self.cmd.take_action(parsed_args)
self.endpoints_mock.list.assert_called_with()