748
748
view = create_initialized_view(distroseries, "+initseries")
751
758
def test_is_derived_series_feature_enabled(self):
752
759
# The feature is disabled by default, but can be enabled by setting
753
760
# the soyuz.derived_series_ui.enabled flag.
754
761
distroseries = self.factory.makeDistroSeries()
758
762
flags = {u"soyuz.derived_series_ui.enabled": u"true"}
759
763
with FeatureFixture(flags):
760
765
self.assertTrue(view.is_derived_series_feature_enabled)
762
767
def test_form_hidden_when_derived_series_feature_disabled(self):