~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/translations/stories/standalone/xx-series-templates.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-08-26 06:43:49 UTC
  • mfrom: (13715.1.15 bug-321467)
  • Revision ID: launchpad@pqm.canonical.com-20110826064349-7pedrbmp5hzmms03
[r=jcsackett][bug=321467] Move potemplate.name field to +edit form
 and block the +admin page again. Provide validation for potemplate.name and
 share more of the validation between the two forms.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    >>> print utc_browser.url
91
91
    http://.../ubuntu/hoary/+source/evolution/+pots/evolution-2.2/+edit
92
92
 
 
93
Administration page is inaccessible.
 
94
 
93
95
    >>> utc_browser.open(
94
96
    ...     'http://translations.launchpad.dev/ubuntu/hoary/+templates')
95
97
    >>> utc_browser.getLink(
96
 
    ...     url='+source/evolution/+pots/evolution-2.2/+admin').click()
97
 
    >>> print utc_browser.url
98
 
    http://.../ubuntu/hoary/+source/evolution/+pots/evolution-2.2/+admin
 
98
    ...     url='+source/evolution/+pots/evolution-2.2/+admin')
 
99
    Traceback (most recent call last):
 
100
    ...
 
101
    LinkNotFoundError
99
102
 
100
 
Trying to edit/administer disabled templates brings them to the
101
 
appropriate page.
 
103
Trying to edit disabled templates brings them to the appropriate page.
102
104
 
103
105
    >>> utc_browser.open(
104
106
    ...     'http://translations.launchpad.dev/ubuntu/hoary/+templates')
107
109
    >>> print utc_browser.url
108
110
    http://.../ubuntu/hoary/+source/evolution/+pots/disabled-template/+edit
109
111
 
 
112
Administration page is inaccessible.
 
113
 
110
114
    >>> utc_browser.open(
111
115
    ...     'http://translations.launchpad.dev/ubuntu/hoary/+templates')
112
116
    >>> utc_browser.getLink(
113
 
    ...     url='+source/evolution/+pots/disabled-template/+admin').click()
114
 
    >>> print utc_browser.url
115
 
    http://.../ubuntu/hoary/+source/evolution/+pots/disabled-template/+admin
 
117
    ...     url='+source/evolution/+pots/disabled-template/+admin')
 
118
    Traceback (most recent call last):
 
119
    ...
 
120
    LinkNotFoundError
116
121
 
117
122
 
118
123
Links to the templates