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
committed by David TARDIVEL
parent 3e030618fa
commit 1eb2b517ef
33 changed files with 531 additions and 873 deletions

View File

@@ -20,8 +20,7 @@ import uuid
from watcher.decision_engine.model import element
from watcher.tests import base
from watcher.tests.decision_engine.strategy.strategies import \
faker_cluster_state
from watcher.tests.decision_engine.model import faker_cluster_state
class TestMapping(base.TestCase):