Remove duplicate unittest
There are two same unit test in test_default_planner. We need to remove one. TrivialFix Change-Id: Ibeec9348779dafe4c2cec2411306e09e95728ca1
This commit is contained in:
@@ -146,13 +146,6 @@ class TestDefaultPlanner(base.DbTestCase):
|
|||||||
action.create()
|
action.create()
|
||||||
return action
|
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):
|
def test_schedule_scheduled_empty(self):
|
||||||
audit = db_utils.create_test_audit(uuid=utils.generate_uuid())
|
audit = db_utils.create_test_audit(uuid=utils.generate_uuid())
|
||||||
fake_solution = SolutionFakerSingleHyp.build()
|
fake_solution = SolutionFakerSingleHyp.build()
|
||||||
|
|||||||
Reference in New Issue
Block a user