launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #17589
[Merge] lp:~wgrant/launchpad/breadcrumb-cleanup into lp:launchpad
William Grant has proposed merging lp:~wgrant/launchpad/breadcrumb-cleanup into lp:launchpad.
Commit message:
Stop enclosing "package" and "branch" "names" in "quotes" throughout the "UI". And fix fallback Launchpad.net breadcrumb style.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~wgrant/launchpad/breadcrumb-cleanup/+merge/243088
Stop enclosing "package" and "branch" "names" in "quotes" throughout the "UI". And fix fallback Launchpad.net breadcrumb style.
--
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~wgrant/launchpad/breadcrumb-cleanup into lp:launchpad.
=== modified file 'lib/lp/answers/stories/distribution-package-answer-contact.txt'
--- lib/lp/answers/stories/distribution-package-answer-contact.txt 2011-12-30 06:14:56 +0000
+++ lib/lp/answers/stories/distribution-package-answer-contact.txt 2014-11-27 22:19:43 +0000
@@ -40,14 +40,13 @@
...
Unauthorized: ...
- >>> from lp.services.helpers import backslashreplace
>>> browser.addHeader('Authorization', 'Basic test@xxxxxxxxxxxxx:test')
>>> browser.open(
... 'http://launchpad.dev/ubuntu/+source/evolution/+questions')
>>> browser.getLink('Answers').click()
>>> browser.getLink('Set answer contact').click()
- >>> print backslashreplace(browser.title)
- Answer contact for \u201cevolution\u201d...
+ >>> print browser.title
+ Answer contact for evolution package...
On this page, the user can choose to become an answer contact by
clicking a checkbox. All the teams, he's a member of are also displayed
=== modified file 'lib/lp/answers/stories/question-add.txt'
--- lib/lp/answers/stories/question-add.txt 2013-09-27 04:13:23 +0000
+++ lib/lp/answers/stories/question-add.txt 2014-11-27 22:19:43 +0000
@@ -163,7 +163,7 @@
>>> user_browser.url
'.../ubuntu/+source/mozilla-firefox/+question/...'
>>> print user_browser.title
- Question #... : Questions : ...mozilla-firefox... package : Ubuntu
+ Question #... : Questions : mozilla-firefox package : Ubuntu
>>> print extract_text(
... find_tag_by_id(user_browser.contents, 'registration'))
=== modified file 'lib/lp/answers/stories/question-answers-vhost.txt'
--- lib/lp/answers/stories/question-answers-vhost.txt 2011-05-13 03:13:46 +0000
+++ lib/lp/answers/stories/question-answers-vhost.txt 2014-11-27 22:19:43 +0000
@@ -28,7 +28,7 @@
>>> anon_browser.open(
... 'http://answers.launchpad.dev/ubuntu/+source/mozilla-firefox')
>>> print anon_browser.title
- Questions : ...mozilla-firefox... package : Ubuntu
+ Questions : mozilla-firefox package : Ubuntu
ProjectGroup
=== modified file 'lib/lp/answers/stories/question-browse-and-search.txt'
--- lib/lp/answers/stories/question-browse-and-search.txt 2014-02-25 09:43:29 +0000
+++ lib/lp/answers/stories/question-browse-and-search.txt 2014-11-27 22:19:43 +0000
@@ -254,7 +254,7 @@
>>> browser.open('http://launchpad.dev/ubuntu/+questions')
>>> browser.getLink('mozilla-firefox').click()
>>> browser.title
- 'Questions : \xe2\x80\x9cmozilla-firefox\xe2\x80\x9d package : Ubuntu'
+ 'Questions : mozilla-firefox package : Ubuntu'
>>> soup = find_main_content(browser.contents)
>>> soup('table', 'listing')
[<table...
@@ -376,7 +376,7 @@
... '+questions')
>>> sample_person_browser.getLink('My questions').click()
>>> print repr(sample_person_browser.title)
- 'Questions you asked about mozilla-firefox in Ubuntu : Questions : \xe2\x80\x9cmozilla-firefox\xe2\x80\x9d package : Ubuntu'
+ 'Questions you asked about mozilla-firefox in Ubuntu : Questions : mozilla-firefox package : Ubuntu'
>>> questions = find_tag_by_id(
... sample_person_browser.contents, 'question-listing')
>>> for question in questions.fetch('td', 'questionTITLE'):
@@ -520,7 +520,7 @@
>>> browser.getLink('mozilla-firefox in Ubuntu').click()
>>> print repr(browser.title)
- 'Questions : \xe2\x80\x9cmozilla-firefox\xe2\x80\x9d package : Ubuntu'
+ 'Questions : mozilla-firefox package : Ubuntu'
The listing is searchable and can restrict also the list of displayed
questions to a particular status:
=== modified file 'lib/lp/answers/stories/question-overview.txt'
--- lib/lp/answers/stories/question-overview.txt 2011-05-13 03:26:21 +0000
+++ lib/lp/answers/stories/question-overview.txt 2014-11-27 22:19:43 +0000
@@ -119,7 +119,7 @@
>>> browser.getLink('Answers').click()
>>> print browser.title
- Questions : ...evolution... package : Ubuntu
+ Questions : evolution package : Ubuntu
>>> browser.getLink('Ask a question').url
'.../ubuntu/+source/evolution/+addquestion'
@@ -144,7 +144,7 @@
>>> browser.getLink('Answers').click()
>>> browser.title
- 'Questions : \xe2\x80\x9cmozilla-firefox\xe2\x80\x9d package : Ubuntu'
+ 'Questions : mozilla-firefox package : Ubuntu'
>>> browser.getLink('Ask a question').url
'.../ubuntu/+source/mozilla-firefox/+addquestion'
=== modified file 'lib/lp/app/browser/launchpad.py'
--- lib/lp/app/browser/launchpad.py 2014-11-27 06:24:11 +0000
+++ lib/lp/app/browser/launchpad.py 2014-11-27 22:19:43 +0000
@@ -417,7 +417,7 @@
crumb_markups.append(
structured('<a href="%s">%s</a>', crumb.url, crumb.detail))
if not crumb_markups:
- crumb_markups.append('Launchpad.net')
+ crumb_markups.append(structured('<span>Launchpad.net</span>'))
content = structured(
'<br />'.join(['%s'] * len(crumb_markups)), *crumb_markups)
return structured(
@@ -430,7 +430,7 @@
self.heading_breadcrumbs[0].context if self.heading_breadcrumbs
else None)
adapter = queryAdapter(logo_context, IPathAdapter, 'image')
- if logo_context != self.context.context and logo_context is not None:
+ if logo_context is not None:
return structured(
'<a href="%s">%s</a>',
canonical_url(logo_context, rootsite='mainsite'),
=== modified file 'lib/lp/app/browser/tests/watermark.txt'
--- lib/lp/app/browser/tests/watermark.txt 2014-11-27 08:49:35 +0000
+++ lib/lp/app/browser/tests/watermark.txt 2014-11-27 22:19:43 +0000
@@ -68,7 +68,7 @@
>>> machine = factory.makeCodeImportMachine()
>>> print get_hierarchy(machine).heading()
- <h...>Launchpad.net</h...>
+ <h...><span...>Launchpad.net</span></h...>
Any HTML in the context title will be escaped to avoid XSS vulnerabilities.
@@ -87,7 +87,7 @@
<a href="..."><img ... src="/@@/product-logo" /></a>
>>> print get_hierarchy(eric).logo()
- <img ... src="/@@/person-logo" />
+ <a...><img ... src="/@@/person-logo" /></a>
If there is no root context, the Launchpad logo is shown.
=== modified file 'lib/lp/blueprints/browser/specificationbranch.py'
--- lib/lp/blueprints/browser/specificationbranch.py 2012-07-06 21:25:10 +0000
+++ lib/lp/blueprints/browser/specificationbranch.py 2014-11-27 22:19:43 +0000
@@ -11,7 +11,6 @@
'SpecificationBranchURL',
]
-from lazr.restful.utils import smartquote
from zope.interface import implements
from lp import _
@@ -82,8 +81,7 @@
@property
def page_title(self):
- return smartquote(
- 'Link branch "%s" to a blueprint' % self.context.displayname)
+ return 'Link branch %s to a blueprint' % self.context.displayname
@property
def next_url(self):
=== modified file 'lib/lp/bugs/browser/bugbranch.py'
--- lib/lp/bugs/browser/bugbranch.py 2012-01-01 02:58:52 +0000
+++ lib/lp/bugs/browser/bugbranch.py 2014-11-27 22:19:43 +0000
@@ -13,7 +13,6 @@
]
from lazr.restful.interfaces import IWebServiceClientRequest
-from lazr.restful.utils import smartquote
from zope.component import (
adapts,
getMultiAdapter,
@@ -136,8 +135,7 @@
@property
def page_title(self):
- return smartquote(
- 'Link branch "%s" to a bug report' % self.context.displayname)
+ return 'Link branch %s to a bug report' % self.context.displayname
@property
def next_url(self):
=== modified file 'lib/lp/bugs/stories/bug-release-management/nomination-navigation.txt'
--- lib/lp/bugs/stories/bug-release-management/nomination-navigation.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/bugs/stories/bug-release-management/nomination-navigation.txt 2014-11-27 22:19:43 +0000
@@ -11,7 +11,7 @@
... 'http://bugs.launchpad.dev/ubuntu/+source/mozilla-firefox/+bug/1'
... '/nominations/2/+editstatus')
>>> print_location(admin_browser.contents)
- Hierarchy: Ubuntu Linux > ?mozilla-firefox? package > Bug #1...
+ Hierarchy: Ubuntu Linux > mozilla-firefox package > Bug #1...
Tabs:
* Overview - http://launchpad.dev/ubuntu/+source/mozilla-firefox
* Code - http://code.launchpad.dev/ubuntu/+source/mozilla-firefox
=== modified file 'lib/lp/bugs/stories/bugs/xx-bug-activity.txt'
--- lib/lp/bugs/stories/bugs/xx-bug-activity.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/bugs/stories/bugs/xx-bug-activity.txt 2014-11-27 22:19:43 +0000
@@ -12,7 +12,7 @@
the main heading repeats the bug number for clarity:
>>> print_location(anon_browser.contents)
- Hierarchy: Debian GNU/Linux > ?mozilla-firefox? package > Bug #3...
+ Hierarchy: Debian GNU/Linux > mozilla-firefox package > Bug #3...
Tabs:
* Overview - http://launchpad.dev/debian/+source/mozilla-firefox
* Code - http://code.launchpad.dev/debian/+source/mozilla-firefox
=== modified file 'lib/lp/bugs/stories/bugs/xx-bug-create-question.txt'
--- lib/lp/bugs/stories/bugs/xx-bug-create-question.txt 2013-09-27 04:13:23 +0000
+++ lib/lp/bugs/stories/bugs/xx-bug-create-question.txt 2014-11-27 22:19:43 +0000
@@ -14,7 +14,7 @@
... 'http://bugs.launchpad.dev'
... '/ubuntu/+source/linux-source-2.6.15/+bug/10')
>>> anon_browser.title
- 'Bug #10 ... : Bugs : ...linux-source-2.6.15... package : Ubuntu'
+ 'Bug #10 ... : Bugs : linux-source-2.6.15 package : Ubuntu'
>>> anon_browser.getLink('Convert to a question').click()
Traceback (most recent call last):
@@ -28,7 +28,7 @@
... 'http://bugs.launchpad.dev'
... '/ubuntu/+source/linux-source-2.6.15/+bug/10')
>>> user_browser.title
- 'Bug #10 ... : Bugs : ...linux-source-2.6.15... package : Ubuntu'
+ 'Bug #10 ... : Bugs : linux-source-2.6.15 package : Ubuntu'
>>> user_browser.getLink('Convert to a question').click()
>>> user_browser.title
@@ -50,7 +50,7 @@
informational message stating that a question was created from the bug.
>>> user_browser.title
- 'Bug #10 ... : Bugs : ...linux-source-2.6.15... package : Ubuntu'
+ 'Bug #10 ... : Bugs : linux-source-2.6.15 package : Ubuntu'
>>> content = find_main_content(user_browser.contents)
>>> content.find(id="bug-is-question")
@@ -105,7 +105,7 @@
He uses the link to Related bug to return to the bug.
>>> print user_browser.title
- Question #... : Questions : ...linux-source-2.6.15... package : Ubuntu
+ Question #... : Questions : linux-source-2.6.15 package : Ubuntu
>>> print extract_text(
... find_tag_by_id(user_browser.contents, 'original-bug'))
@@ -113,7 +113,7 @@
>>> user_browser.getLink('#10: another test bug').click()
>>> user_browser.title
- 'Bug #10 ... : Bugs : ...linux-source-2.6.15... package : Ubuntu'
+ 'Bug #10 ... : Bugs : linux-source-2.6.15 package : Ubuntu'
When a question cannot be created from a bug
=== modified file 'lib/lp/bugs/stories/bugs/xx-bug-index.txt'
--- lib/lp/bugs/stories/bugs/xx-bug-index.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/bugs/stories/bugs/xx-bug-index.txt 2014-11-27 22:19:43 +0000
@@ -14,7 +14,7 @@
The breadcrumbs and other navigation include a link to the bug itself.
>>> print_location(anon_browser.contents)
- Hierarchy: Debian GNU/Linux > ?mozilla-firefox? package
+ Hierarchy: Debian GNU/Linux > mozilla-firefox package
Tabs:
* Overview - http://launchpad.dev/debian/+source/mozilla-firefox
* Code - http://code.launchpad.dev/debian/+source/mozilla-firefox
=== modified file 'lib/lp/code/browser/branch.py'
--- lib/lp/code/browser/branch.py 2014-11-16 19:56:32 +0000
+++ lib/lp/code/browser/branch.py 2014-11-27 22:19:43 +0000
@@ -45,7 +45,6 @@
copy_field,
use_template,
)
-from lazr.restful.utils import smartquote
from lazr.uri import URI
import pytz
import simplejson
@@ -976,7 +975,7 @@
@property
def page_title(self):
- return smartquote('Delete branch "%s"' % self.context.displayname)
+ return 'Delete branch %s' % self.context.displayname
label = page_title
@@ -1068,7 +1067,7 @@
@property
def page_title(self):
- return smartquote('Upgrade branch "%s"' % self.context.displayname)
+ return 'Upgrade branch %s' % self.context.displayname
@property
def next_url(self):
=== modified file 'lib/lp/code/browser/branchsubscription.py'
--- lib/lp/code/browser/branchsubscription.py 2013-02-26 03:20:44 +0000
+++ lib/lp/code/browser/branchsubscription.py 2014-11-27 22:19:43 +0000
@@ -12,7 +12,6 @@
'BranchSubscriptionPrimaryContext',
]
-from lazr.restful.utils import smartquote
from zope.component import getUtility
from zope.interface import implements
@@ -153,8 +152,7 @@
@property
def page_title(self):
- return smartquote(
- 'Edit subscription to branch "%s"' % self.context.displayname)
+ return 'Edit subscription to branch %s' % self.context.displayname
@property
def initial_values(self):
@@ -264,8 +262,7 @@
@property
def page_title(self):
- return smartquote(
- 'Edit subscription to branch "%s"' % self.branch.displayname)
+ return 'Edit subscription to branch %s' % self.branch.displayname
@property
def label(self):
=== modified file 'lib/lp/code/stories/branches/xx-branch-deletion.txt'
--- lib/lp/code/stories/branches/xx-branch-deletion.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/code/stories/branches/xx-branch-deletion.txt 2014-11-27 22:19:43 +0000
@@ -37,7 +37,7 @@
>>> delete_link.click()
>>> print extract_text(find_main_content(browser.contents))
- Delete branch “lp://dev/~alice/earthlynx/to-delete”
+ Delete branch lp://dev/~alice/earthlynx/to-delete
to-delete ...
Branch deletion is permanent.
or Cancel
=== modified file 'lib/lp/code/stories/branches/xx-source-package-branches-empty.txt'
--- lib/lp/code/stories/branches/xx-source-package-branches-empty.txt 2011-08-03 11:00:11 +0000
+++ lib/lp/code/stories/branches/xx-source-package-branches-empty.txt 2014-11-27 22:19:43 +0000
@@ -42,8 +42,7 @@
>>> print repr(extract_text(
... find_tag_by_id(browser.contents, 'branch-summary')))
- u'There are no branches for the \u201cfoo\u201d package
- in distro\nin Launchpad.'
+ u'There are no branches for the foo package in distro\nin Launchpad.'
>>> print_tag_with_id(browser.contents, 'distro-branch-warning')
This page is for a packaging branch for a program in
=== modified file 'lib/lp/registry/browser/distributionsourcepackage.py'
--- lib/lp/registry/browser/distributionsourcepackage.py 2014-11-25 06:40:35 +0000
+++ lib/lp/registry/browser/distributionsourcepackage.py 2014-11-27 22:19:43 +0000
@@ -21,7 +21,6 @@
import operator
from lazr.delegates import delegates
-from lazr.restful.utils import smartquote
from zope.component import getUtility
from zope.interface import (
implements,
@@ -105,8 +104,7 @@
@property
def text(self):
- return smartquote('"%s" package') % (
- self.context.sourcepackagename.name)
+ return '%s package' % self.context.sourcepackagename.name
class DistributionSourcePackageFacets(StandardLaunchpadFacets):
=== modified file 'lib/lp/registry/doc/distribution-sourcepackage.txt'
--- lib/lp/registry/doc/distribution-sourcepackage.txt 2013-10-01 03:30:19 +0000
+++ lib/lp/registry/doc/distribution-sourcepackage.txt 2014-11-27 22:19:43 +0000
@@ -187,7 +187,7 @@
>>> pmount_dspr = dsp.getVersion('0.1-1')
>>> print pmount_dspr.title
- "pmount" 0.1-1 source package in Ubuntu
+ pmount 0.1-1 source package in Ubuntu
>>> for pub in pmount_dspr.publishing_history:
... print pub.distroseries.name, pub.status.name
@@ -201,7 +201,7 @@
>>> alsa_dsp = ubuntutest.getSourcePackage("alsa-utils")
>>> alsa_dspr = alsa_dsp.getVersion('1.0.9a-4')
>>> print alsa_dspr.title
- "alsa-utils" 1.0.9a-4 source package in ubuntutest
+ alsa-utils 1.0.9a-4 source package in ubuntutest
>>> for pub in alsa_dspr.publishing_history:
... is_removed = pub.dateremoved is not None
=== modified file 'lib/lp/registry/doc/distroseries.txt'
--- lib/lp/registry/doc/distroseries.txt 2014-11-27 08:49:51 +0000
+++ lib/lp/registry/doc/distroseries.txt 2014-11-27 22:19:43 +0000
@@ -912,7 +912,7 @@
>>> for upload in latest_uploads:
... print upload.title
- "mozilla-firefox" 0.9 source package in Ubuntu
+ mozilla-firefox 0.9 source package in Ubuntu
Also, empty results (caused obviously by lack of sample data or very
earlier development state of a distroseries) are possible:
=== modified file 'lib/lp/registry/doc/sourcepackage.txt'
--- lib/lp/registry/doc/sourcepackage.txt 2014-11-10 00:45:56 +0000
+++ lib/lp/registry/doc/sourcepackage.txt 2014-11-27 22:19:43 +0000
@@ -162,8 +162,8 @@
>>> for release in pmount_hoary.releases:
... print release.title, release.publishing_history[0].status.name
- "pmount" 0.1-1 source package in Ubuntu SUPERSEDED
- "pmount" 0.1-2 source package in Ubuntu PUBLISHED
+ pmount 0.1-1 source package in Ubuntu SUPERSEDED
+ pmount 0.1-2 source package in Ubuntu PUBLISHED
>>> len(list(pmount_hoary.distinctreleases))
2
@@ -186,8 +186,8 @@
>>> for release in pmount_hoary.releases:
... print release.title, release.publishing_history[0].status.name
- "pmount" 0.1-1 source package in Ubuntu SUPERSEDED
- "pmount" 0.1-2 source package in Ubuntu PUBLISHED
+ pmount 0.1-1 source package in Ubuntu SUPERSEDED
+ pmount 0.1-2 source package in Ubuntu PUBLISHED
>>> len(list(pmount_hoary.distinctreleases))
2
@@ -218,7 +218,7 @@
mozilla-firefox
>>> print ubuntu_firefox.title.encode('ascii', 'backslashreplace')
- \u201cmozilla-firefox\u201d package in Ubuntu
+ mozilla-firefox package in Ubuntu
>>> print ubuntu_firefox.displayname
mozilla-firefox in Ubuntu
=== modified file 'lib/lp/registry/model/distributionsourcepackage.py'
--- lib/lp/registry/model/distributionsourcepackage.py 2014-05-26 07:51:03 +0000
+++ lib/lp/registry/model/distributionsourcepackage.py 2014-11-27 22:19:43 +0000
@@ -18,7 +18,6 @@
from threading import local
from bzrlib.lru_cache import LRUCache
-from lazr.restful.utils import smartquote
from sqlobject.sqlbuilder import SQLConstant
from storm.expr import (
And,
@@ -171,7 +170,7 @@
@property
def title(self):
"""See `IDistributionSourcePackage`."""
- return smartquote('"%s" package in %s') % (
+ return '%s package in %s' % (
self.sourcepackagename.name, self.distribution.displayname)
@property
=== modified file 'lib/lp/registry/model/sourcepackage.py'
--- lib/lp/registry/model/sourcepackage.py 2014-11-09 23:32:23 +0000
+++ lib/lp/registry/model/sourcepackage.py 2014-11-27 22:19:43 +0000
@@ -12,7 +12,6 @@
from operator import attrgetter
-from lazr.restful.utils import smartquote
from storm.locals import (
And,
Desc,
@@ -313,7 +312,7 @@
@property
def title(self):
"""See `ISourcePackage`."""
- return smartquote('"%s" source package in %s') % (
+ return '%s source package in %s' % (
self.sourcepackagename.name, self.distroseries.displayname)
@property
=== modified file 'lib/lp/registry/stories/product/xx-product-index.txt'
--- lib/lp/registry/stories/product/xx-product-index.txt 2014-11-14 10:31:36 +0000
+++ lib/lp/registry/stories/product/xx-product-index.txt 2014-11-27 22:19:43 +0000
@@ -272,4 +272,4 @@
... find_tag_by_id(user_browser.contents, 'portlet-packages'))
All packages
Packages in Distributions
- “mozilla-firefox” source package in Warty Version 0.9 uploaded on...
+ mozilla-firefox source package in Warty Version 0.9 uploaded on...
=== modified file 'lib/lp/registry/stories/product/xx-product-package-pages.txt'
--- lib/lp/registry/stories/product/xx-product-package-pages.txt 2013-09-27 04:13:23 +0000
+++ lib/lp/registry/stories/product/xx-product-package-pages.txt 2014-11-27 22:19:43 +0000
@@ -16,7 +16,7 @@
>>> anon_browser.getLink(url='/ubuntu/warty/+source/evolution').click()
>>> print extract_text(
... find_tag_by_id(anon_browser.contents, 'maincontent').h1)
- “evolution” source package in Warty
+ evolution source package in Warty
It can also show the packages by product series. And if you have permission
(for example, you're the owner of the product), Launchpad lets you register
=== modified file 'lib/lp/registry/stories/webservice/xx-distribution-source-package.txt'
--- lib/lp/registry/stories/webservice/xx-distribution-source-package.txt 2013-10-01 03:30:19 +0000
+++ lib/lp/registry/stories/webservice/xx-distribution-source-package.txt 2014-11-27 22:19:43 +0000
@@ -19,7 +19,7 @@
u'official_bug_tags': [],
u'resource_type_link': u'http://.../#distribution_source_package',
u'self_link': u'http://.../debian/+source/mozilla-firefox',
- u'title': u'\u201cmozilla-firefox\u201d package in Debian',
+ u'title': u'mozilla-firefox package in Debian',
u'upstream_product_link': None,
u'web_link': u'http://launchpad.../debian/+source/mozilla-firefox'}
=== modified file 'lib/lp/soyuz/browser/tests/distributionsourcepackagerelease-views.txt'
--- lib/lp/soyuz/browser/tests/distributionsourcepackagerelease-views.txt 2014-10-31 07:00:29 +0000
+++ lib/lp/soyuz/browser/tests/distributionsourcepackagerelease-views.txt 2014-11-27 22:19:43 +0000
@@ -18,10 +18,10 @@
>>> dspr_view = create_initialized_view(dspr, name="+index")
>>> print dspr.title
- "testing-dspr" 1.0 source package in ubuntutest
+ testing-dspr 1.0 source package in ubuntutest
>>> dspr_view.page_title
- u'\u201ctesting-dspr\u201d 1.0 source package in ubuntutest'
+ u'testing-dspr 1.0 source package in ubuntutest'
The 'files' property returns a list of files included in the source
upload encapsulated as `ProxiedLibraryFileAlias` objects. Their
=== modified file 'lib/lp/soyuz/doc/distroarchseriesbinarypackage.txt'
--- lib/lp/soyuz/doc/distroarchseriesbinarypackage.txt 2012-03-27 13:38:04 +0000
+++ lib/lp/soyuz/doc/distroarchseriesbinarypackage.txt 2014-11-27 22:19:43 +0000
@@ -17,7 +17,7 @@
`DistroArchSeriesBinaryPackage`s have a title property:
>>> print pmount_hoary_i386.title
- "pmount" binary package in Ubuntu Hoary i386
+ pmount binary package in Ubuntu Hoary i386
First, we create a new version of pmount, and a version of mozilla-
firefox that coincides with pmount's. We're hitch-hiking on two existing
=== modified file 'lib/lp/soyuz/doc/distroarchseriesbinarypackagerelease.txt'
--- lib/lp/soyuz/doc/distroarchseriesbinarypackagerelease.txt 2009-09-03 15:17:24 +0000
+++ lib/lp/soyuz/doc/distroarchseriesbinarypackagerelease.txt 2014-11-27 22:19:43 +0000
@@ -52,7 +52,7 @@
>>> warty_i386_pmount = warty_i386.getBinaryPackage('pmount')
>>> print warty_i386_pmount.title
- "pmount" binary package in Ubuntu Warty i386
+ pmount binary package in Ubuntu Warty i386
>>> pmount_release_in_warty = warty_i386_pmount['0.1-1']
>>> print pmount_release_in_warty.title
@@ -61,5 +61,5 @@
>>> parent = (
... pmount_release_in_warty.distroarchseriesbinarypackage)
>>> print parent.title
- "pmount" binary package in Ubuntu Warty i386
+ pmount binary package in Ubuntu Warty i386
=== modified file 'lib/lp/soyuz/doc/distroseriesbinarypackage.txt'
--- lib/lp/soyuz/doc/distroseriesbinarypackage.txt 2014-11-09 11:48:45 +0000
+++ lib/lp/soyuz/doc/distroseriesbinarypackage.txt 2014-11-27 22:19:43 +0000
@@ -57,7 +57,7 @@
It also provides access to the last DistributionSourcePackageRelease:
>>> print firefox_dsbp.last_sourcepackagerelease.title
- "iceweasel" 1.0 source package in Ubuntu
+ iceweasel 1.0 source package in Ubuntu
If a DistroSeriesBinaryPackage doesn't have a DistroSeriesPackageCache,
then the summary and description fields reflect the situation:
=== modified file 'lib/lp/soyuz/doc/publishing.txt'
--- lib/lp/soyuz/doc/publishing.txt 2014-11-09 01:48:36 +0000
+++ lib/lp/soyuz/doc/publishing.txt 2014-11-27 22:19:43 +0000
@@ -131,14 +131,14 @@
>>> from lp.services.propertycache import get_property_cache
>>> del get_property_cache(pub).newer_distroseries_version
>>> print pub.newer_distroseries_version.title
- "iceweasel" 1.1 source package in Ubuntu
+ iceweasel 1.1 source package in Ubuntu
We can calculate the newer_distroseries_version for many spph objects at once.
>>> del get_property_cache(pub).newer_distroseries_version
>>> pub.distroseries.setNewerDistroSeriesVersions([pub])
>>> print get_property_cache(pub).newer_distroseries_version.title
- "iceweasel" 1.1 source package in Ubuntu
+ iceweasel 1.1 source package in Ubuntu
A helper is also included to create a summary of the build statuses for
the spph's related builds, getStatusSummaryForBuilds(), which just
=== modified file 'lib/lp/soyuz/model/distributionsourcepackagerelease.py'
--- lib/lp/soyuz/model/distributionsourcepackagerelease.py 2014-11-09 23:28:27 +0000
+++ lib/lp/soyuz/model/distributionsourcepackagerelease.py 2014-11-27 22:19:43 +0000
@@ -81,7 +81,7 @@
@property
def title(self):
"""See IDistributionSourcePackageRelease."""
- return '"%s" %s source package in %s' % (
+ return '%s %s source package in %s' % (
self.name, self.version, self.distribution.displayname)
@property
=== modified file 'lib/lp/soyuz/model/distroarchseriesbinarypackage.py'
--- lib/lp/soyuz/model/distroarchseriesbinarypackage.py 2013-06-20 05:50:00 +0000
+++ lib/lp/soyuz/model/distroarchseriesbinarypackage.py 2014-11-27 22:19:43 +0000
@@ -67,7 +67,7 @@
@property
def title(self):
"""See IDistroArchSeriesBinaryPackage."""
- return '"%s" binary package in %s' % (
+ return '%s binary package in %s' % (
self.binarypackagename.name, self.distroarchseries.displayname)
@cachedproperty
=== modified file 'lib/lp/soyuz/stories/distribution/xx-distribution-packages.txt'
--- lib/lp/soyuz/stories/distribution/xx-distribution-packages.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/soyuz/stories/distribution/xx-distribution-packages.txt 2014-11-27 22:19:43 +0000
@@ -191,10 +191,10 @@
>>> from lp.services.helpers import backslashreplace
>>> print backslashreplace(user_browser.title)
- \u201ciceweasel\u201d package : Ubuntu
+ iceweasel package : Ubuntu
>>> print_location(user_browser.contents)
- Hierarchy: Ubuntu Linux > ?iceweasel? package
+ Hierarchy: Ubuntu Linux > iceweasel package
Tabs:
* Overview (selected) - not linked
* Code - http://code.launchpad.dev/ubuntu/+source/iceweasel
@@ -202,7 +202,7 @@
* Blueprints - not linked
* Translations - http://translations.launchpad.dev/ubuntu/+source/iceweasel
* Answers - http://answers.launchpad.dev/ubuntu/+source/iceweasel
- Main heading: ?iceweasel? package in Ubuntu
+ Main heading: iceweasel package in Ubuntu
Under the title there's a short paragraph that says how many 'new' bugs
and open questions the package has.
@@ -388,10 +388,10 @@
>>> browser.getLink("View full change log").click()
>>> print backslashreplace(browser.title)
- Change log : \u201cfoobar\u201d package : Ubuntu
+ Change log : foobar package : Ubuntu
>>> print_location(browser.contents)
- Hierarchy: Ubuntu Linux > ?foobar? package
+ Hierarchy: Ubuntu Linux > foobar package
Tabs:
* Overview (selected) - http://launchpad.dev/ubuntu/+source/foobar
* Code - http://code.launchpad.dev/ubuntu/+source/foobar
@@ -399,7 +399,7 @@
* Blueprints - not linked
* Translations - http://translations.launchpad.dev/ubuntu/+source/foobar
* Answers - http://answers.launchpad.dev/ubuntu/+source/foobar
- Main heading: Change log for ?foobar? package in Ubuntu
+ Main heading: Change log for foobar package in Ubuntu
Each version history entry has a header with the version as the title
and details of the publishing status in each distroseries it's published
@@ -563,7 +563,7 @@
>>> anon_browser.getLink('Overview').click()
>>> print backslashreplace(anon_browser.title)
- \u201calsa-utils\u201d package : Ubuntu
+ alsa-utils package : Ubuntu
Publishing History
@@ -579,10 +579,10 @@
source package hierarchy.
>>> print backslashreplace(anon_browser.title)
- Publishing history : \u201calsa-utils\u201d package : Ubuntu
+ Publishing history : alsa-utils package : Ubuntu
>>> print_location(anon_browser.contents)
- Hierarchy: Ubuntu Linux > ?alsa-utils? package
+ Hierarchy: Ubuntu Linux > alsa-utils package
Tabs:
* Overview (selected) - http://launchpad.dev/ubuntu/+source/alsa-utils
* Code - http://code.launchpad.dev/ubuntu/+source/alsa-utils
@@ -590,11 +590,11 @@
* Blueprints - not linked
* Translations - http://translations.launchpad.dev/ubuntu/+source/alsa-utils
* Answers - http://answers.launchpad.dev/ubuntu/+source/alsa-utils
- Main heading: Publishing history of ?alsa-utils? package in Ubuntu
+ Main heading: Publishing history of alsa-utils package in Ubuntu
Returning to the distribution source package index is also possible via
the 'back' link at the bottom of the page.
>>> anon_browser.getLink('back').click()
>>> print backslashreplace(anon_browser.title)
- \u201calsa-utils\u201d package : Ubuntu
+ alsa-utils package : Ubuntu
=== modified file 'lib/lp/soyuz/stories/packaging/package-pages-navigation.txt'
--- lib/lp/soyuz/stories/packaging/package-pages-navigation.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/soyuz/stories/packaging/package-pages-navigation.txt 2014-11-27 22:19:43 +0000
@@ -16,7 +16,7 @@
>>> anon_browser.open('http://launchpad.dev/ubuntu/+source/alsa-utils')
>>> print_location(anon_browser.contents)
- Hierarchy: Ubuntu Linux > ?alsa-utils? package
+ Hierarchy: Ubuntu Linux > alsa-utils package
Tabs:
* Overview (selected) - not linked
* Code - http://code.launchpad.dev/ubuntu/+source/alsa-utils
@@ -24,11 +24,11 @@
* Blueprints - not linked
* Translations - http://translations.launchpad.dev/ubuntu/+source/alsa-utils
* Answers - http://answers.launchpad.dev/ubuntu/+source/alsa-utils
- Main heading: ...alsa-utils... package in Ubuntu
+ Main heading: alsa-utils package in Ubuntu
>>> anon_browser.open('http://bugs.launchpad.dev/ubuntu/+source/alsa-utils')
>>> print_location(anon_browser.contents)
- Hierarchy: Ubuntu Linux > ?alsa-utils? package
+ Hierarchy: Ubuntu Linux > alsa-utils package
Tabs:
* Overview - http://launchpad.dev/ubuntu/+source/alsa-utils
* Code - http://code.launchpad.dev/ubuntu/+source/alsa-utils
@@ -49,7 +49,7 @@
>>> anon_browser.open(
... 'http://launchpad.dev/ubuntu/+source/alsa-utils/1.0.9a-4ubuntu1')
>>> print_location(anon_browser.contents)
- Hierarchy: Ubuntu Linux > ?alsa-utils? package
+ Hierarchy: Ubuntu Linux > alsa-utils package
Tabs:
* Overview (selected) - http://launchpad.dev/ubuntu/+source/alsa-utils
* Code - http://code.launchpad.dev/ubuntu/+source/alsa-utils
@@ -57,7 +57,7 @@
* Blueprints - not linked
* Translations - http://translations.launchpad.dev/ubuntu/+source/alsa-utils
* Answers - http://answers.launchpad.dev/ubuntu/+source/alsa-utils
- Main heading: ?alsa-utils? 1.0.9a-4ubuntu1 source package in Ubuntu
+ Main heading: alsa-utils 1.0.9a-4ubuntu1 source package in Ubuntu
== Distribution source package release build ==
@@ -68,7 +68,7 @@
>>> anon_browser.open(
... 'http://launchpad.dev/ubuntu/+source/alsa-utils/1.0.9a-4ubuntu1/+build/11')
>>> print_location(anon_browser.contents)
- Hierarchy: Ubuntu Linux > ?alsa-utils? package > 1.0.9a-4ubuntu1 > i386 build
+ Hierarchy: Ubuntu Linux > alsa-utils package > 1.0.9a-4ubuntu1 > i386 build
Tabs:
* Overview (selected) - http://launchpad.dev/ubuntu/+source/alsa-utils
* Code - http://code.launchpad.dev/ubuntu/+source/alsa-utils
@@ -87,7 +87,7 @@
>>> anon_browser.open(
... 'http://launchpad.dev/ubuntu/hoary/+source/alsa-utils')
>>> print_location(anon_browser.contents)
- Hierarchy: Ubuntu Linux > ?alsa-utils? package
+ Hierarchy: Ubuntu Linux > alsa-utils package
Tabs:
* Overview (selected) - http://launchpad.dev/ubuntu/+source/alsa-utils
* Code - http://code.launchpad.dev/ubuntu/+source/alsa-utils
@@ -95,7 +95,7 @@
* Blueprints - not linked
* Translations - http://translations.launchpad.dev/ubuntu/+source/alsa-utils
* Answers - http://answers.launchpad.dev/ubuntu/+source/alsa-utils
- Main heading: ?alsa-utils? source package in Hoary
+ Main heading: alsa-utils source package in Hoary
== Distribution series architecture ==
@@ -131,7 +131,7 @@
* Blueprints - http://blueprints.launchpad.dev/ubuntu
* Translations - http://translations.launchpad.dev/ubuntu
* Answers - http://answers.launchpad.dev/ubuntu
- Main heading: ?pmount? binary package in Ubuntu Hoary i386
+ Main heading: pmount binary package in Ubuntu Hoary i386
== Distribution series architecture binary package release ==
=== modified file 'lib/lp/soyuz/stories/ppa/xx-delete-packages.txt'
--- lib/lp/soyuz/stories/ppa/xx-delete-packages.txt 2014-04-10 21:57:06 +0000
+++ lib/lp/soyuz/stories/ppa/xx-delete-packages.txt 2014-11-27 22:19:43 +0000
@@ -534,7 +534,7 @@
>>> user_browser.open("http://launchpad.dev/ubuntu/+source/foobar/1.0")
>>> user_browser.getLink('See full publishing history').click()
>>> print extract_text(find_main_content(user_browser.contents))
- Publishing history of “foobar” 1.0 source package in Ubuntu
+ Publishing history of foobar 1.0 source package in Ubuntu
...
1.0
Removed from disk on 2006-12-02.
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-build-record.txt'
--- lib/lp/soyuz/stories/soyuz/xx-build-record.txt 2014-07-24 09:37:03 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-build-record.txt 2014-11-27 22:19:43 +0000
@@ -48,7 +48,7 @@
>>> from lp.services.helpers import backslashreplace
>>> print backslashreplace(anon_browser.title)
- i386 build : 1.0 : \u201ctesting\u201d package : ubuntutest
+ i386 build : 1.0 : testing package : ubuntutest
In the page body readers can see 2 sections, 'Build status' and 'Build
details'.
@@ -578,7 +578,7 @@
>>> anon_browser.open(imported_build_url)
>>> print backslashreplace(anon_browser.title)
- i386 build : 666 : \u201cimported\u201d package : ubuntutest
+ i386 build : 666 : imported package : ubuntutest
>>> print extract_text(
... find_tag_by_id(anon_browser.contents, 'binaries'))
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-builds-pages.txt'
--- lib/lp/soyuz/stories/soyuz/xx-builds-pages.txt 2014-11-24 09:16:35 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-builds-pages.txt 2014-11-27 22:19:43 +0000
@@ -95,7 +95,7 @@
... "http://launchpad.dev/ubuntu/hoary/+source/pmount")
>>> anon_browser.getLink("Show builds").click()
>>> print anon_browser.title
- Builds : Hoary (5.04) : ...pmount... package : Ubuntu
+ Builds : Hoary (5.04) : pmount package : Ubuntu
>>> print check_builds_options(anon_browser.contents)
State present, Name not present
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-distributionsourcepackagerelease-pages.txt'
--- lib/lp/soyuz/stories/soyuz/xx-distributionsourcepackagerelease-pages.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-distributionsourcepackagerelease-pages.txt 2014-11-27 22:19:43 +0000
@@ -39,13 +39,13 @@
Its title describes exactly what it is about.
>>> anon_browser.title
- '1.0 : \xe2\x80\x9ctesting-dspr\xe2\x80\x9d package : ubuntutest'
+ '1.0 : testing-dspr package : ubuntutest'
Its application bar has enabled entries for Code, Bugs and Answers, and
they all point to the `DistributionSourcePackage` (parent) url.
>>> print_location(anon_browser.contents)
- Hierarchy: Ubuntu Test > ?testing-dspr? package
+ Hierarchy: Ubuntu Test > testing-dspr package
Tabs:
* Overview (selected) - http://launchpad.dev/ubuntutest/+source/testing-dspr
* Code - http://code.launchpad.dev/ubuntutest/+source/testing-dspr
@@ -53,7 +53,7 @@
* Blueprints - not linked
* Translations - http://translations.launchpad.dev/ubuntutest/+source/testing-dspr
* Answers - http://answers.launchpad.dev/ubuntutest/+source/testing-dspr
- Main heading: ?testing-dspr? 1.0 source package in ubuntutest
+ Main heading: testing-dspr 1.0 source package in ubuntutest
The first section presented ('top-porlet') contains the source package
release changelog. It shows the reason why this version of the package
@@ -164,7 +164,7 @@
>>> from lp.services.helpers import backslashreplace
>>> print backslashreplace(anon_browser.title)
- Publishing history : 1.0 : ...testing-dspr... package : ubuntutest
+ Publishing history : 1.0 : testing-dspr package : ubuntutest
>>> print extract_text(find_main_content(anon_browser.contents))
Publishing history of ...testing-dspr... 1.0 source package in ubuntutest
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-distroarchseries-binpackages.txt'
--- lib/lp/soyuz/stories/soyuz/xx-distroarchseries-binpackages.txt 2014-11-09 11:48:45 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-distroarchseries-binpackages.txt 2014-11-27 22:19:43 +0000
@@ -94,7 +94,7 @@
>>> source_element = find_tag_by_id(browser.contents, 'source')
>>> print extract_text(source_element)
- "mozilla-firefox" 0.9 source package in Ubuntu
+ mozilla-firefox 0.9 source package in Ubuntu
>>> print source_element.find(name='a')['href']
/ubuntu/+source/mozilla-firefox/0.9
@@ -228,7 +228,7 @@
originated itself:
>>> print extract_text(find_tag_by_id(browser.contents, 'source'))
- "commercialpackage" 1.0-1 source package in Ubuntu
+ commercialpackage 1.0-1 source package in Ubuntu
Also provide a section with the contained files, including respective
librarian URL and size:
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-distroseries-binary-packages.txt'
--- lib/lp/soyuz/stories/soyuz/xx-distroseries-binary-packages.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-distroseries-binary-packages.txt 2014-11-27 22:19:43 +0000
@@ -15,7 +15,7 @@
Mozilla Firefox Web Browser
Mozilla Firefox Web Browser is .....
Source package
- "iceweasel" 1.0 source package in Ubuntu
+ iceweasel 1.0 source package in Ubuntu
Published versions
mozilla-firefox 0.9 in hppa (Release)
mozilla-firefox 0.9 in i386 (Release)
@@ -36,7 +36,7 @@
>>> browser.getLink(id="source_package").click()
>>> browser.title
- '1.0 : ...iceweasel... package : Ubuntu'
+ '1.0 : iceweasel package : Ubuntu'
Some DistroSeriesBinaryPackages are unpublished, in this case there is
no link to any source package:
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-distroseries-sources.txt'
--- lib/lp/soyuz/stories/soyuz/xx-distroseries-sources.txt 2014-11-24 09:16:35 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-distroseries-sources.txt 2014-11-27 22:19:43 +0000
@@ -223,7 +223,7 @@
>>> browser.getLink('copyright').click()
>>> print browser.title
- Copyright : Warty (4.10) : ...mozilla-firefox... package : Ubuntu
+ Copyright : Warty (4.10) : mozilla-firefox package : Ubuntu
>>> print extract_text(find_tag_by_id(browser.contents, 'copyright'))
Copyright 2010 Ford Prefect.
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-person-packages.txt'
--- lib/lp/soyuz/stories/soyuz/xx-person-packages.txt 2014-11-24 09:16:35 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-person-packages.txt 2014-11-27 22:19:43 +0000
@@ -71,7 +71,7 @@
<Link text='Ubuntu Hoary' ...>
>>> link.click()
>>> browser.title
- 'Hoary (5.04) : ...cnews... package : Ubuntu'
+ 'Hoary (5.04) : cnews package : Ubuntu'
The third column links to the distribution source package release page. The
user follows the cnews version link to see the page.
@@ -82,7 +82,7 @@
<Link ... url='http://launchpad.dev/ubuntu/+source/cnews/cr.g7-37'>
>>> link.click()
>>> browser.title
- 'cr.g7-37 : \xe2\x80\x9ccnews\xe2\x80\x9d package : Ubuntu'
+ 'cr.g7-37 : cnews package : Ubuntu'
Batched listing pages
=== modified file 'lib/lp/soyuz/stories/soyuz/xx-sourcepackage-changelog.txt'
--- lib/lp/soyuz/stories/soyuz/xx-sourcepackage-changelog.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/soyuz/stories/soyuz/xx-sourcepackage-changelog.txt 2014-11-27 22:19:43 +0000
@@ -113,6 +113,6 @@
>>> user_browser.open("http://launchpad.dev/ubuntu/+source/pmount/")
>>> user_browser.title
- '\xe2\x80\x9cpmount\xe2\x80\x9d package : Ubuntu'
+ 'pmount package : Ubuntu'
=== modified file 'lib/lp/translations/stories/standalone/xx-pofile-export.txt'
--- lib/lp/translations/stories/standalone/xx-pofile-export.txt 2014-11-24 09:16:35 +0000
+++ lib/lp/translations/stories/standalone/xx-pofile-export.txt 2014-11-27 22:19:43 +0000
@@ -20,7 +20,7 @@
>>> print user_browser.title
Download translation : Spanish (es)... : Hoary (5.04) :
- Translations : ...evolution... package : Ubuntu
+ Translations : evolution package : Ubuntu
>>> print find_main_content(user_browser.contents)
<...
=== modified file 'lib/lp/translations/stories/standalone/xx-pofile-translate-message-filtering.txt'
--- lib/lp/translations/stories/standalone/xx-pofile-translate-message-filtering.txt 2014-11-24 09:16:35 +0000
+++ lib/lp/translations/stories/standalone/xx-pofile-translate-message-filtering.txt 2014-11-27 22:19:43 +0000
@@ -49,7 +49,7 @@
... '+source/evolution/+pots/evolution-2.2/es/+translate')
>>> print user_browser.title
Spanish (es) : Template ...evolution-2.2... :
- Hoary (5.04) : Translations : ...evolution... package : Ubuntu
+ Hoary (5.04) : Translations : evolution package : Ubuntu
He can see that there are 22 messages.
@@ -126,7 +126,7 @@
>>> user_browser.getControl('Change').click()
>>> print user_browser.title
English (Australia) (en_AU) : Template ...evolution-2.2... :
- Hoary (5.04) : Translations : ...evolution... package : Ubuntu
+ Hoary (5.04) : Translations : evolution package : Ubuntu
>>> contents = find_main_content(user_browser.contents)
>>> print_batch_header(contents)
=== modified file 'lib/lp/translations/stories/standalone/xx-potemplate-index.txt'
--- lib/lp/translations/stories/standalone/xx-potemplate-index.txt 2014-11-24 09:16:35 +0000
+++ lib/lp/translations/stories/standalone/xx-potemplate-index.txt 2014-11-27 22:19:43 +0000
@@ -13,7 +13,7 @@
... "ubuntu/hoary/+source/evolution/+pots/evolution-2.2/")
>>> print anon_browser.title
Template ...evolution-2.2... : Hoary (5.04) :
- Translations : ...evolution... package : Ubuntu
+ Translations : evolution package : Ubuntu
The owner of the template is diplayed.
=== modified file 'lib/lp/translations/stories/standalone/xx-product-translations.txt'
--- lib/lp/translations/stories/standalone/xx-product-translations.txt 2014-11-27 07:48:25 +0000
+++ lib/lp/translations/stories/standalone/xx-product-translations.txt 2014-11-27 22:19:43 +0000
@@ -223,7 +223,7 @@
... admin_browser.contents, 'portlet-translatable-packages')
>>> print extract_text(source_package)
All translatable distribution packages
- “evolution” source package in Hoary
+ evolution source package in Hoary
Instead a notice is displayed that the product has no translations.
=== modified file 'lib/lp/translations/stories/standalone/xx-sourcepackage-export.txt'
--- lib/lp/translations/stories/standalone/xx-sourcepackage-export.txt 2014-11-24 09:16:35 +0000
+++ lib/lp/translations/stories/standalone/xx-sourcepackage-export.txt 2014-11-27 22:19:43 +0000
@@ -166,7 +166,7 @@
... 'http://translations.launchpad.dev/'
... 'ubuntu/hoary/+source/mozilla/+export')
>>> browser.title
- 'Download : Hoary (5.04) : Translations : \xe2\x80\x9cmozilla...
+ 'Download : Hoary (5.04) : Translations : mozilla package : Ubuntu'
>>> browser.getControl('Request Download').click()
Follow ups