Part of lp.translations.tests.test_translationtemplatesbuild View In Hierarchy
Allows overriding of _hasPotteryCompatibleSetup.
How do you fake a utility that is implemented as a class, not a
factory? By inheriting from TranslationTemplatesBuild
, this class
"copies" the utility. But you can make it fake the utility's
behaviour by setting an attribute of the class (not an object!) at
the beginning of every test.
Class Method | _hasPotteryCompatibleSetup | Does branch look as if pottery can generate templates for it? |
Inherited from TranslationTemplatesBuild:
Method | title | See IBuildFarmJob . |
Method | __init__ | Undocumented |
Method | estimateDuration | See IBuildFarmJob . |
Class Method | generatesTemplates | See ITranslationTemplatesBuildSource . |
Class Method | create | See ITranslationTemplatesBuildSource . |
Class Method | scheduleTranslationTemplatesBuild | See ITranslationTemplatesBuildSource . |
Class Method | getByID | See ITranslationTemplatesBuildSource . |
Class Method | getByBuildFarmJob | See ITranslationTemplatesBuildSource . |
Class Method | getByBuildFarmJobs | See ITranslationTemplatesBuildSource . |
Class Method | preloadBuildsData | Undocumented |
Class Method | findByBranch | See ITranslationTemplatesBuildSource . |
Method | log_url | See IBuildFarmJob . |
Method | calculateScore | See IBuildFarmJob . |
Class Method | _getStore | Return store if given, or the default. |
Class Method | _getBuildArch | Returns an IProcessor to queue a translation build for. |
Inherited from SpecificBuildFarmJobSourceMixin (via TranslationTemplatesBuild):
Static Method | addCandidateSelectionCriteria | See ISpecificBuildFarmJobSource . |
Static Method | postprocessCandidate | See ISpecificBuildFarmJobSource . |
Inherited from BuildFarmJobMixin (via TranslationTemplatesBuild):
Method | dependencies | Undocumented |
Method | external_dependencies | Undocumented |
Method | duration | See IBuildFarmJob . |
Method | buildqueue_record | See IBuildFarmJob . |
Method | is_private | See IBuildFarmJob . |
Method | was_built | See IBuild |
Method | build_cookie | See IBuildFarmJob . |
Method | setLog | See IBuildFarmJob . |
Method | updateStatus | See IBuildFarmJob . |
Method | gotFailure | See IBuildFarmJob . |
Method | queueBuild | See IBuildFarmJob . |
branch
look as if pottery can generate templates for it?Parameters | branch | A Branch object. |