Trivial: Rename FakehypervisorStats to FakeHypervisorStats
Change-Id: I138b1b8a3327947b8cd032d8d0c32d98548ce2ad
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user