Skip to content

Commit c3f6ee9

Browse files
author
Tang Chen
committed
Trivial: Rename FakehypervisorStats to FakeHypervisorStats
Change-Id: I138b1b8a3327947b8cd032d8d0c32d98548ce2ad
1 parent 97492c1 commit c3f6ee9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

openstackclient/tests/compute/v2/fakes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def create_hypervisors(attrs={}, count=2):
280280
return hypervisors
281281

282282

283-
class FakehypervisorStats(object):
283+
class FakeHypervisorStats(object):
284284
"""Fake one or more hypervisor stats."""
285285

286286
@staticmethod
@@ -333,7 +333,7 @@ def create_hypervisors_stats(attrs={}, count=2):
333333
hypervisors = []
334334
for i in range(0, count):
335335
hypervisors.append(
336-
FakehypervisorStats.create_one_hypervisor_stats(attrs))
336+
FakeHypervisorStats.create_one_hypervisor_stats(attrs))
337337

338338
return hypervisors
339339

openstackclient/tests/compute/v2/test_hypervisor_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def setUp(self):
3333
super(TestHypervisorStatsShow, self).setUp()
3434

3535
self.hypervisor_stats = \
36-
compute_fakes.FakehypervisorStats.create_one_hypervisor_stats()
36+
compute_fakes.FakeHypervisorStats.create_one_hypervisor_stats()
3737

3838
self.hypervisors_mock.statistics.return_value =\
3939
self.hypervisor_stats

0 commit comments

Comments
 (0)