l.c.b.t.t.TestBrokenExistingRecipesMixin : class documentation

Part of lp.code.browser.tests.test_sourcepackagerecipe View In Hierarchy

Known subclasses: lp.code.browser.tests.test_sourcepackagerecipe.TestBrokenExistingRecipesBzr, lp.code.browser.tests.test_sourcepackagerecipe.TestBrokenExistingRecipesGit

Existing recipes broken by builder updates need to be editable.

This happened with a 0.2 -> 0.3 release where the nest command was no longer allowed to refer the '.'. There were already existing recipes that had this text that were not viewable or editable. This test case captures that and makes sure the views stay visible.

Method makeBrokenRecipe Make a valid recipe, then break it.
Method test_recipe_is_broken Undocumented
Method assertRecipeInText If the first line is shown, that's good enough for us.
Method test_recipe_index_renderable Undocumented
Method test_recipe_edit_renderable Undocumented
def makeBrokenRecipe(self):
Make a valid recipe, then break it.
def test_recipe_is_broken(self):
Undocumented
def assertRecipeInText(self, text):
If the first line is shown, that's good enough for us.
def test_recipe_index_renderable(self):
Undocumented
def test_recipe_edit_renderable(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-08-22 00:00:19.