Remove useless Meta-Action
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. Partially implements: blueprint glossary-related-refactoring Change-Id: Ie0e33562f5e990c264a50ab3f533cfa62eac1d19
This commit is contained in:
@@ -17,9 +17,8 @@
|
||||
import mock
|
||||
from mock import MagicMock
|
||||
|
||||
from watcher.common.exception import MetaActionNotFound
|
||||
from watcher.common.exception import ActionNotFound
|
||||
from watcher.common import utils
|
||||
|
||||
from watcher.db import api as db_api
|
||||
from watcher.decision_engine.actions.base import BaseAction
|
||||
from watcher.decision_engine.planner.default import DefaultPlanner
|
||||
@@ -118,7 +117,7 @@ class TestDefaultPlanner(base.DbTestCase):
|
||||
audit = db_utils.create_test_audit(uuid=utils.generate_uuid())
|
||||
fake_solution = SolutionFaker.build()
|
||||
fake_solution.actions[0] = "valeur_qcq"
|
||||
self.assertRaises(MetaActionNotFound, self.default_planner.schedule,
|
||||
self.assertRaises(ActionNotFound, self.default_planner.schedule,
|
||||
self.context, audit.id, fake_solution)
|
||||
|
||||
def test_schedule_scheduled_empty(self):
|
||||
|
||||
Reference in New Issue
Block a user