From ca5b849f6bd800ce060915f447a468d58374b21b Mon Sep 17 00:00:00 2001 From: jinquanni Date: Tue, 5 Jul 2016 14:44:05 +0800 Subject: [PATCH] Remove duplicate unittest There are two same unit test in test_default_planner. We need to remove one. TrivialFix Change-Id: Ibeec9348779dafe4c2cec2411306e09e95728ca1 --- .../tests/decision_engine/planner/test_default_planner.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/watcher/tests/decision_engine/planner/test_default_planner.py b/watcher/tests/decision_engine/planner/test_default_planner.py index edcfa7656..66249d1c1 100644 --- a/watcher/tests/decision_engine/planner/test_default_planner.py +++ b/watcher/tests/decision_engine/planner/test_default_planner.py @@ -146,13 +146,6 @@ class TestDefaultPlanner(base.DbTestCase): action.create() return action - def test_scheduler_w(self): - audit = db_utils.create_test_audit(uuid=utils.generate_uuid()) - fake_solution = SolutionFaker.build() - action_plan = self.default_planner.schedule(self.context, - audit.id, fake_solution) - self.assertIsNotNone(action_plan.uuid) - def test_schedule_scheduled_empty(self): audit = db_utils.create_test_audit(uuid=utils.generate_uuid()) fake_solution = SolutionFakerSingleHyp.build()