@@ -149,7 +149,9 @@ def test_security_group_rule_create_no_options(self):
149149 ]
150150 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
151151
152- # DisplayCommandBase.take_action() returns two tuples
152+ # In base command class ShowOne in cliff, abstractmethod take_action()
153+ # returns a two-part tuple with a tuple of column names and a tuple of
154+ # data to be shown.
153155 columns , data = self .cmd .take_action (parsed_args )
154156
155157 # SecurityGroupManager.create(name, description)
@@ -193,7 +195,9 @@ def test_security_group_rule_create_ftp(self):
193195 ]
194196 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
195197
196- # DisplayCommandBase.take_action() returns two tuples
198+ # In base command class ShowOne in cliff, abstractmethod take_action()
199+ # returns a two-part tuple with a tuple of column names and a tuple of
200+ # data to be shown.
197201 columns , data = self .cmd .take_action (parsed_args )
198202
199203 # SecurityGroupManager.create(name, description)
@@ -241,7 +245,9 @@ def test_security_group_rule_create_ssh(self):
241245 ]
242246 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
243247
244- # DisplayCommandBase.take_action() returns two tuples
248+ # In base command class ShowOne in cliff, abstractmethod take_action()
249+ # returns a two-part tuple with a tuple of column names and a tuple of
250+ # data to be shown.
245251 columns , data = self .cmd .take_action (parsed_args )
246252
247253 # SecurityGroupManager.create(name, description)
@@ -284,7 +290,9 @@ def test_security_group_rule_create_udp(self):
284290 ]
285291 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
286292
287- # DisplayCommandBase.take_action() returns two tuples
293+ # In base command class ShowOne in cliff, abstractmethod take_action()
294+ # returns a two-part tuple with a tuple of column names and a tuple of
295+ # data to be shown.
288296 columns , data = self .cmd .take_action (parsed_args )
289297
290298 # SecurityGroupManager.create(name, description)
@@ -330,7 +338,9 @@ def test_security_group_rule_create_icmp(self):
330338 ]
331339 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
332340
333- # DisplayCommandBase.take_action() returns two tuples
341+ # In base command class ShowOne in cliff, abstractmethod take_action()
342+ # returns a two-part tuple with a tuple of column names and a tuple of
343+ # data to be shown.
334344 columns , data = self .cmd .take_action (parsed_args )
335345
336346 # SecurityGroupManager.create(name, description)
0 commit comments