~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/stories/team-polls/create-polls.txt

  • Committer: Stuart Bishop
  • Date: 2011-09-28 12:49:24 UTC
  • mfrom: (9893.10.1 trivial)
  • mto: This revision was merged to the branch mainline in revision 14178.
  • Revision ID: stuart.bishop@canonical.com-20110928124924-m5a22fymqghw6c5i
Merged trivial into distinct-db-users.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    >>> team_admin_browser.open(
91
91
    ...     'http://launchpad.dev/~ubuntu-team/+newpoll')
92
92
    >>> team_admin_browser.getControl(
93
 
    ...     'The unique name of this poll').value = 'dpl-2080'
94
 
    >>> team_admin_browser.getControl(
95
 
    ...     'The title of this poll').value = 'Debian Project Leader Election 2080'
96
 
    >>> proposition = 'The next debian project leader'
97
 
    >>> team_admin_browser.getControl(
98
 
    ...     'The proposition that is going to be voted').value = proposition
99
 
    >>> team_admin_browser.getControl(
100
 
    ...     'Users can spoil their votes?').selected = True
 
93
    ...     "The unique name of this poll").value = 'dpl-2080'
 
94
    >>> title_control = team_admin_browser.getControl(
 
95
    ...     "The title of this poll")
 
96
    >>> title_control.value = "Debian Project Leader Election 2080"
 
97
    >>> proposition = "The next debian project leader"
 
98
    >>> team_admin_browser.getControl(
 
99
    ...     "The proposition that is going to be voted").value = proposition
 
100
    >>> team_admin_browser.getControl(
 
101
    ...     "Users can spoil their votes?").selected = True
101
102
    >>> team_admin_browser.getControl(
102
103
    ...     name='field.dateopens').value = '2025-06-04 02:00:00+00:00'
103
104
    >>> team_admin_browser.getControl(
131
132
    >>> team_admin_browser.open(
132
133
    ...     'http://launchpad.dev/~ubuntu-team/+newpoll')
133
134
    >>> team_admin_browser.getControl(
134
 
    ...     'The unique name of this poll').value = 'dpl-2080'
135
 
    >>> team_admin_browser.getControl(
136
 
    ...     'The title of this poll').value = 'Debian Project Leader Election 2080'
137
 
    >>> proposition = 'The next debian project leader'
138
 
    >>> team_admin_browser.getControl(
139
 
    ...     'The proposition that is going to be voted').value = proposition
140
 
    >>> team_admin_browser.getControl(
141
 
    ...     'Users can spoil their votes?').selected = True
 
135
    ...     "The unique name of this poll").value = 'dpl-2080'
 
136
    >>> title_control = team_admin_browser.getControl(
 
137
    ...     "The title of this poll")
 
138
    >>> title_control.value = "Debian Project Leader Election 2080"
 
139
    >>> proposition = "The next debian project leader"
 
140
    >>> team_admin_browser.getControl(
 
141
    ...     "The proposition that is going to be voted").value = proposition
 
142
    >>> team_admin_browser.getControl(
 
143
    ...     "Users can spoil their votes?").selected = True
142
144
    >>> team_admin_browser.getControl(
143
145
    ...     name='field.dateopens').value = '2025-06-04 02:00:00+00:00'
144
146
    >>> team_admin_browser.getControl(