Refactored Tests to load scenarios from file

In this changeset, I simplified the logic that is used to create
cluster data model scenarios.

Change-Id: Ia6e138d9897190d3207a70485dc62ccc34087686
This commit is contained in:
Vincent Françoise
2016-09-16 14:51:42 +02:00
parent fc36a7a698
commit e621f5ddc6
33 changed files with 517 additions and 873 deletions

View File

@@ -17,8 +17,7 @@
# limitations under the License.
from watcher.decision_engine.model.notification import nova as novanotification
from watcher.tests.decision_engine.strategy.strategies \
import faker_cluster_state
from watcher.tests.decision_engine.model import faker_cluster_state
class FakeManager(object):