@@ -83,7 +83,9 @@ def test_user_create_no_options(self):
8383 ]
8484 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
8585
86- # DisplayCommandBase.take_action() returns two tuples
86+ # In base command class ShowOne in cliff, abstract method take_action()
87+ # returns a two-part tuple with a tuple of column names and a tuple of
88+ # data to be shown.
8789 columns , data = self .cmd .take_action (parsed_args )
8890
8991 # Set expected values
@@ -114,7 +116,9 @@ def test_user_create_password(self):
114116 ]
115117 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
116118
117- # DisplayCommandBase.take_action() returns two tuples
119+ # In base command class ShowOne in cliff, abstract method take_action()
120+ # returns a two-part tuple with a tuple of column names and a tuple of
121+ # data to be shown.
118122 columns , data = self .cmd .take_action (parsed_args )
119123
120124 # Set expected values
@@ -143,7 +147,9 @@ def test_user_create_password_prompt(self):
143147 ]
144148 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
145149
146- # DisplayCommandBase.take_action() returns two tuples
150+ # In base command class ShowOne in cliff, abstract method take_action()
151+ # returns a two-part tuple with a tuple of column names and a tuple of
152+ # data to be shown.
147153 mocker = mock .Mock ()
148154 mocker .return_value = 'abc123'
149155 with mock .patch ("openstackclient.common.utils.get_password" , mocker ):
@@ -176,7 +182,9 @@ def test_user_create_email(self):
176182 ]
177183 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
178184
179- # DisplayCommandBase.take_action() returns two tuples
185+ # In base command class ShowOne in cliff, abstract method take_action()
186+ # returns a two-part tuple with a tuple of column names and a tuple of
187+ # data to be shown.
180188 columns , data = self .cmd .take_action (parsed_args )
181189
182190 # Set expected values
@@ -221,7 +229,9 @@ def test_user_create_project(self):
221229 ]
222230 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
223231
224- # DisplayCommandBase.take_action() returns two tuples
232+ # In base command class ShowOne in cliff, abstract method take_action()
233+ # returns a two-part tuple with a tuple of column names and a tuple of
234+ # data to be shown.
225235 columns , data = self .cmd .take_action (parsed_args )
226236
227237 # Set expected values
@@ -259,7 +269,9 @@ def test_user_create_enable(self):
259269 ]
260270 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
261271
262- # DisplayCommandBase.take_action() returns two tuples
272+ # In base command class ShowOne in cliff, abstract method take_action()
273+ # returns a two-part tuple with a tuple of column names and a tuple of
274+ # data to be shown.
263275 columns , data = self .cmd .take_action (parsed_args )
264276
265277 # Set expected values
@@ -290,7 +302,9 @@ def test_user_create_disable(self):
290302 ]
291303 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
292304
293- # DisplayCommandBase.take_action() returns two tuples
305+ # In base command class ShowOne in cliff, abstract method take_action()
306+ # returns a two-part tuple with a tuple of column names and a tuple of
307+ # data to be shown.
294308 columns , data = self .cmd .take_action (parsed_args )
295309
296310 # Set expected values
@@ -332,7 +346,9 @@ def _raise_conflict(*args, **kwargs):
332346 ]
333347 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
334348
335- # DisplayCommandBase.take_action() returns two tuples
349+ # In base command class ShowOne in cliff, abstract method take_action()
350+ # returns a two-part tuple with a tuple of column names and a tuple of
351+ # data to be shown.
336352 columns , data = self .cmd .take_action (parsed_args )
337353
338354 # UserManager.create(name, password, email, tenant_id=, enabled=)
@@ -352,7 +368,9 @@ def test_user_create_or_show_not_exists(self):
352368 ]
353369 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
354370
355- # DisplayCommandBase.take_action() returns two tuples
371+ # In base command class ShowOne in cliff, abstract method take_action()
372+ # returns a two-part tuple with a tuple of column names and a tuple of
373+ # data to be shown.
356374 columns , data = self .cmd .take_action (parsed_args )
357375
358376 # Set expected values
@@ -758,7 +776,9 @@ def test_user_show(self):
758776 ]
759777 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
760778
761- # DisplayCommandBase.take_action() returns two tuples
779+ # In base command class ShowOne in cliff, abstract method take_action()
780+ # returns a two-part tuple with a tuple of column names and a tuple of
781+ # data to be shown.
762782 columns , data = self .cmd .take_action (parsed_args )
763783
764784 self .users_mock .get .assert_called_with (identity_fakes .user_id )
0 commit comments