Rename efficiency to efficacy
Some Python class and packages need to be renamed for a better compliance with the shared Terminology which provides a better understanding of Watcher objects and components by every contributor. This patchset is there to change efficiency to efficacy Partially implements: blueprint glossary-related-refactoring Change-Id: I4c84192d49a147e0fd406da35e2805143b902331
This commit is contained in:
@@ -121,9 +121,9 @@ class TestBasicConsolidation(base.BaseTestCase):
|
||||
mem),
|
||||
vm_0_weight_assert)
|
||||
|
||||
def test_calculate_migration_efficiency(self):
|
||||
def test_calculate_migration_efficacy(self):
|
||||
sercon = BasicConsolidation()
|
||||
sercon.calculate_migration_efficiency()
|
||||
sercon.calculate_migration_efficacy()
|
||||
|
||||
def test_exception_model(self):
|
||||
sercon = BasicConsolidation()
|
||||
@@ -248,4 +248,4 @@ class TestBasicConsolidation(base.BaseTestCase):
|
||||
as mock_score_call:
|
||||
mock_score_call.return_value = 0
|
||||
solution = sercon.execute(model)
|
||||
self.assertEqual(solution.efficiency, 100)
|
||||
self.assertEqual(solution.efficacy, 100)
|
||||
|
||||
Reference in New Issue
Block a user