summaryrefslogtreecommitdiff
path: root/openstackclient/tests/identity/v2_0/test_project.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/identity/v2_0/test_project.py')
-rw-r--r--openstackclient/tests/identity/v2_0/test_project.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/openstackclient/tests/identity/v2_0/test_project.py b/openstackclient/tests/identity/v2_0/test_project.py
index 69b29268..ad4ab265 100644
--- a/openstackclient/tests/identity/v2_0/test_project.py
+++ b/openstackclient/tests/identity/v2_0/test_project.py
@@ -322,7 +322,9 @@ class TestProjectList(TestProject):
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.projects_mock.list.assert_called_with()
@@ -343,7 +345,9 @@ class TestProjectList(TestProject):
]
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.projects_mock.list.assert_called_with()