|
@@ -896,7 +896,7 @@ class ConfiguratorTest(BossUtils, unittest.TestCase):
|
|
|
|
|
|
configurator._run_plan(plan)
|
|
configurator._run_plan(plan)
|
|
|
|
|
|
- self.assertTrue('additional' in configurator._components)
|
|
+ self.assertTrue(configurator.has_component(component))
|
|
for count in [0, 1]:
|
|
for count in [0, 1]:
|
|
self.log = []
|
|
self.log = []
|
|
plan = configurator._build_plan(self.__build_components(bigger),
|
|
plan = configurator._build_plan(self.__build_components(bigger),
|
|
@@ -915,6 +915,8 @@ class ConfiguratorTest(BossUtils, unittest.TestCase):
|
|
component.failed(0)
|
|
component.failed(0)
|
|
|
|
|
|
configurator._run_plan(plan)
|
|
configurator._run_plan(plan)
|
|
|
|
+ self.assertFalse(configurator.has_component(component))
|
|
|
|
+
|
|
self.assertFalse('additional' in configurator._components)
|
|
self.assertFalse('additional' in configurator._components)
|
|
|
|
|
|
|
|
|