diff --git a/openstackclient/tests/compute/v2/fakes.py b/openstackclient/tests/compute/v2/fakes.py
index 860963eb17..6c67c470b8 100644
--- a/openstackclient/tests/compute/v2/fakes.py
+++ b/openstackclient/tests/compute/v2/fakes.py
@@ -280,7 +280,7 @@ class FakeHypervisor(object):
         return hypervisors
 
 
-class FakehypervisorStats(object):
+class FakeHypervisorStats(object):
     """Fake one or more hypervisor stats."""
 
     @staticmethod
@@ -333,7 +333,7 @@ class FakehypervisorStats(object):
         hypervisors = []
         for i in range(0, count):
             hypervisors.append(
-                FakehypervisorStats.create_one_hypervisor_stats(attrs))
+                FakeHypervisorStats.create_one_hypervisor_stats(attrs))
 
         return hypervisors
 
diff --git a/openstackclient/tests/compute/v2/test_hypervisor_stats.py b/openstackclient/tests/compute/v2/test_hypervisor_stats.py
index 39e303a84e..ca5ce29b38 100644
--- a/openstackclient/tests/compute/v2/test_hypervisor_stats.py
+++ b/openstackclient/tests/compute/v2/test_hypervisor_stats.py
@@ -33,7 +33,7 @@ class TestHypervisorStatsShow(TestHypervisorStats):
         super(TestHypervisorStatsShow, self).setUp()
 
         self.hypervisor_stats = \
-            compute_fakes.FakehypervisorStats.create_one_hypervisor_stats()
+            compute_fakes.FakeHypervisorStats.create_one_hypervisor_stats()
 
         self.hypervisors_mock.statistics.return_value =\
             self.hypervisor_stats