I'm finally getting back to this branch (my mistake) and I can't reproduce this at all. Michael, can you still reproduce this, and if so, please tell me how. My test seems to indicate that there is no link here. This is what my test looks like:
def test_result_formatter(self): """SourcePackageRecipe results should not have a link."""
build = self.makeRecipeBuild() build.queueBuild(build)
release = self.factory.makeSourcePackageRelease( source_package_recipe_build=None) release.source_package_recipe_build = build transaction.commit()
build_url = canonical_url(build)
release_url = canonical_url(release)
expected = str('%s in %s %s' % ( release.name, release.upload_distroseries.distribution.bugtargetname, release.version))
logout()
I'm finally getting back to this branch (my mistake) and I can't reproduce this at all. Michael, can you still reproduce this, and if so, please tell me how. My test seems to indicate that there is no link here. This is what my test looks like:
def test_result_ formatter( self):
"""SourcePacka geRecipe results should not have a link.""" Build()
build. queueBuild( build) makeSourcePacka geRelease(
source_ package_ recipe_ build=None)
release. source_ package_ recipe_ build = build
transaction. commit( ) url(build) url(release)
release. name,
release. upload_ distroseries. distribution. bugtargetname,
release. version) )
build = self.makeRecipe
release = self.factory.
build_url = canonical_
release_url = canonical_
expected = str('%s in %s %s' % (
logout()
browser = self.getUserBro wser(build_ url, user=self.chef) by_id(browser. contents, 'build-result')
self.assertEqu al(
result. renderContents( ),
expected)
result = find_tag_
It returns a result that has no link at all. Reproduction instructions would be of help here.