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:
Jean-Emile DARTOIS
2015-12-04 19:11:34 +01:00
parent 7710b1670e
commit 454f70a19f
3 changed files with 21 additions and 21 deletions

View File

@@ -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)