Skip to content

Commit 9117782

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Trivial: Fix "abstractmethod" to "abstract method""
2 parents 0cf8b29 + e1feed5 commit 9117782

6 files changed

Lines changed: 24 additions & 24 deletions

File tree

openstackclient/tests/compute/v2/test_flavor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def test_flavor_list_no_options(self):
126126

127127
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
128128

129-
# In base command class Lister in cliff, abstractmethod take_action()
129+
# In base command class Lister in cliff, abstract method take_action()
130130
# returns a tuple containing the column names and an iterable
131131
# containing the data to be listed.
132132
columns, data = self.cmd.take_action(parsed_args)
@@ -155,7 +155,7 @@ def test_flavor_list_all_flavors(self):
155155

156156
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
157157

158-
# In base command class Lister in cliff, abstractmethod take_action()
158+
# In base command class Lister in cliff, abstract method take_action()
159159
# returns a tuple containing the column names and an iterable
160160
# containing the data to be listed.
161161
columns, data = self.cmd.take_action(parsed_args)
@@ -184,7 +184,7 @@ def test_flavor_list_private_flavors(self):
184184

185185
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
186186

187-
# In base command class Lister in cliff, abstractmethod take_action()
187+
# In base command class Lister in cliff, abstract method take_action()
188188
# returns a tuple containing the column names and an iterable
189189
# containing the data to be listed.
190190
columns, data = self.cmd.take_action(parsed_args)
@@ -213,7 +213,7 @@ def test_flavor_list_public_flavors(self):
213213

214214
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
215215

216-
# In base command class Lister in cliff, abstractmethod take_action()
216+
# In base command class Lister in cliff, abstract method take_action()
217217
# returns a tuple containing the column names and an iterable
218218
# containing the data to be listed.
219219
columns, data = self.cmd.take_action(parsed_args)
@@ -242,7 +242,7 @@ def test_flavor_list_long(self):
242242

243243
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
244244

245-
# In base command class Lister in cliff, abstractmethod take_action()
245+
# In base command class Lister in cliff, abstract method take_action()
246246
# returns a tuple containing the column names and an iterable
247247
# containing the data to be listed.
248248
columns, data = self.cmd.take_action(parsed_args)

openstackclient/tests/compute/v2/test_hypervisor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_hypervisor_list_no_option(self):
6767
verifylist = []
6868
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
6969

70-
# In base command class Lister in cliff, abstractmethod take_action()
70+
# In base command class Lister in cliff, abstract method take_action()
7171
# returns a tuple containing the column names and an iterable
7272
# containing the data to be listed.
7373
columns, data = self.cmd.take_action(parsed_args)
@@ -94,7 +94,7 @@ def test_hypervisor_list_matching_option_found(self):
9494
),
9595
)
9696

97-
# In base command class Lister in cliff, abstractmethod take_action()
97+
# In base command class Lister in cliff, abstract method take_action()
9898
# returns a tuple containing the column names and an iterable
9999
# containing the data to be listed.
100100
columns, data = self.cmd.take_action(parsed_args)
@@ -211,7 +211,7 @@ def test_hypervisor_show(self):
211211
]
212212
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
213213

214-
# In base command class ShowOne in cliff, abstractmethod take_action()
214+
# In base command class ShowOne in cliff, abstract method take_action()
215215
# returns a two-part tuple with a tuple of column names and a tuple of
216216
# data to be shown.
217217
columns, data = self.cmd.take_action(parsed_args)

openstackclient/tests/compute/v2/test_security_group.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def test_security_group_create_no_options(self):
8787
]
8888
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
8989

90-
# In base command class ShowOne in cliff, abstractmethod take_action()
90+
# In base command class ShowOne in cliff, abstract method take_action()
9191
# returns a two-part tuple with a tuple of column names and a tuple of
9292
# data to be shown.
9393
columns, data = self.cmd.take_action(parsed_args)
@@ -112,7 +112,7 @@ def test_security_group_create_description(self):
112112
]
113113
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
114114

115-
# In base command class ShowOne in cliff, abstractmethod take_action()
115+
# In base command class ShowOne in cliff, abstract method take_action()
116116
# returns a two-part tuple with a tuple of column names and a tuple of
117117
# data to be shown.
118118
columns, data = self.cmd.take_action(parsed_args)
@@ -159,7 +159,7 @@ def test_security_group_list_no_options(self):
159159

160160
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
161161

162-
# In base command class Lister in cliff, abstractmethod take_action()
162+
# In base command class Lister in cliff, abstract method take_action()
163163
# returns a tuple containing the column names and an iterable
164164
# containing the data to be listed.
165165
columns, data = self.cmd.take_action(parsed_args)

openstackclient/tests/compute/v2/test_security_group_rule.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_security_group_rule_create_no_options(self):
149149
]
150150
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
151151

152-
# In base command class ShowOne in cliff, abstractmethod take_action()
152+
# In base command class ShowOne in cliff, abstract method take_action()
153153
# returns a two-part tuple with a tuple of column names and a tuple of
154154
# data to be shown.
155155
columns, data = self.cmd.take_action(parsed_args)
@@ -195,7 +195,7 @@ def test_security_group_rule_create_ftp(self):
195195
]
196196
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
197197

198-
# In base command class ShowOne in cliff, abstractmethod take_action()
198+
# In base command class ShowOne in cliff, abstract method take_action()
199199
# returns a two-part tuple with a tuple of column names and a tuple of
200200
# data to be shown.
201201
columns, data = self.cmd.take_action(parsed_args)
@@ -245,7 +245,7 @@ def test_security_group_rule_create_ssh(self):
245245
]
246246
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
247247

248-
# In base command class ShowOne in cliff, abstractmethod take_action()
248+
# In base command class ShowOne in cliff, abstract method take_action()
249249
# returns a two-part tuple with a tuple of column names and a tuple of
250250
# data to be shown.
251251
columns, data = self.cmd.take_action(parsed_args)
@@ -290,7 +290,7 @@ def test_security_group_rule_create_udp(self):
290290
]
291291
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
292292

293-
# In base command class ShowOne in cliff, abstractmethod take_action()
293+
# In base command class ShowOne in cliff, abstract method take_action()
294294
# returns a two-part tuple with a tuple of column names and a tuple of
295295
# data to be shown.
296296
columns, data = self.cmd.take_action(parsed_args)
@@ -338,7 +338,7 @@ def test_security_group_rule_create_icmp(self):
338338
]
339339
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
340340

341-
# In base command class ShowOne in cliff, abstractmethod take_action()
341+
# In base command class ShowOne in cliff, abstract method take_action()
342342
# returns a two-part tuple with a tuple of column names and a tuple of
343343
# data to be shown.
344344
columns, data = self.cmd.take_action(parsed_args)
@@ -411,7 +411,7 @@ def test_security_group_rule_list(self):
411411

412412
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
413413

414-
# In base command class Lister in cliff, abstractmethod take_action()
414+
# In base command class Lister in cliff, abstract method take_action()
415415
# returns a tuple containing the column names and an iterable
416416
# containing the data to be listed.
417417
columns, data = self.cmd.take_action(parsed_args)
@@ -449,7 +449,7 @@ def test_security_group_rule_list_no_group(self):
449449

450450
parsed_args = self.check_parser(self.cmd, [], [])
451451

452-
# In base command class Lister in cliff, abstractmethod take_action()
452+
# In base command class Lister in cliff, abstract method take_action()
453453
# returns a tuple containing the column names and an iterable
454454
# containing the data to be listed.
455455
columns, data = self.cmd.take_action(parsed_args)

openstackclient/tests/compute/v2/test_server.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def test_server_create_minimal(self):
163163
]
164164
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
165165

166-
# In base command class ShowOne in cliff, abstractmethod take_action()
166+
# In base command class ShowOne in cliff, abstract method take_action()
167167
# returns a two-part tuple with a tuple of column names and a tuple of
168168
# data to be shown.
169169
columns, data = self.cmd.take_action(parsed_args)
@@ -243,7 +243,7 @@ def test_server_create_with_network(self):
243243
self.app.client_manager.network.find_network = find_network
244244
self.app.client_manager.network.find_port = find_port
245245

246-
# In base command class ShowOne in cliff, abstractmethod take_action()
246+
# In base command class ShowOne in cliff, abstract method take_action()
247247
# returns a two-part tuple with a tuple of column names and a tuple of
248248
# data to be shown.
249249
columns, data = self.cmd.take_action(parsed_args)
@@ -303,7 +303,7 @@ def test_server_create_userdata(self, mock_open):
303303
]
304304
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
305305

306-
# In base command class ShowOne in cliff, abstractmethod take_action()
306+
# In base command class ShowOne in cliff, abstract method take_action()
307307
# returns a two-part tuple with a tuple of column names and a tuple of
308308
# data to be shown.
309309
columns, data = self.cmd.take_action(parsed_args)
@@ -557,7 +557,7 @@ def test_server_image_create_no_options(self):
557557
]
558558
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
559559

560-
# In base command class ShowOne in cliff, abstractmethod take_action()
560+
# In base command class ShowOne in cliff, abstract method take_action()
561561
# returns a two-part tuple with a tuple of column names and a tuple of
562562
# data to be shown.
563563
columns, data = self.cmd.take_action(parsed_args)
@@ -582,7 +582,7 @@ def test_server_image_create_name(self):
582582
]
583583
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
584584

585-
# In base command class ShowOne in cliff, abstractmethod take_action()
585+
# In base command class ShowOne in cliff, abstract method take_action()
586586
# returns a two-part tuple with a tuple of column names and a tuple of
587587
# data to be shown.
588588
columns, data = self.cmd.take_action(parsed_args)

openstackclient/tests/compute/v2/test_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_service_list(self):
8181
]
8282
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
8383

84-
# In base command class Lister in cliff, abstractmethod take_action()
84+
# In base command class Lister in cliff, abstract method take_action()
8585
# returns a tuple containing the column names and an iterable
8686
# containing the data to be listed.
8787
self.cmd.take_action(parsed_args)

0 commit comments

Comments
 (0)